Changeset 3029
- Timestamp:
- 04/27/2016 10:55:35 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-status-transitions.php
r3026 r3029 108 108 Tools::grant_plugin_committer( $post->post_name, $plugin_author ); 109 109 110 // Promote author if they don't have access yet. 111 if ( ! user_can( $plugin_author, 'plugin_dashboard_access' ) ) { 112 $plugin_author->add_role( 'plugin_committer' ); 113 } 114 110 115 // Send email. 111 116 $subject = sprintf( __( '[WordPress Plugins] %s has been approved!', 'wporg-plugins' ), $post->post_title );
Note: See TracChangeset
for help on using the changeset viewer.