Changeset 7415 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-committers.php
- Timestamp:
- 07/10/2018 10:58:38 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-committers.php
r6287 r7415 59 59 } 60 60 61 if ( ! empty( $committer->allcaps['bbp_blocked'] ) ) { 62 $response->add( array( 63 'what' => 'committer', 64 'data' => new \WP_Error( 'error', sprintf( __( 'The user %s is banned/blocked.', 'wporg-plugins' ), '<code>' . $login . '</code>' ) ), 65 ) ); 66 $response->send(); 67 } 68 61 69 $result = Tools::grant_plugin_committer( $post->post_name, $committer ); 62 70
Note: See TracChangeset
for help on using the changeset viewer.