Changeset 9674 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-plugin-self-close.php
- Timestamp:
- 04/01/2020 06:48:12 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-plugin-self-close.php
r9672 r9674 25 25 $plugin = Plugin_Directory::get_plugin_post( $request['plugin_slug'] ); 26 26 27 return current_user_can( 'plugin_ad d_committer', $plugin ) && 'publish' === $plugin->post_status;27 return current_user_can( 'plugin_admin_edit', $plugin ) && 'publish' === $plugin->post_status; 28 28 }, 29 29 ] );
Note: See TracChangeset
for help on using the changeset viewer.