Changeset 13117
- Timestamp:
- 01/16/2024 05:13:53 AM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php
r13115 r13117 198 198 199 199 // Is there already a plugin with the same slug by a different author? 200 if ( $plugin_post && $plugin_post->post_author != get_current_user_id() ) { 200 if ( 201 ( $plugin_post && $plugin_post->post_author != get_current_user_id() ) && 202 ! current_user_can( 'edit_post', $plugin_post ) /* reviewer uploading via wp-admin */ 203 ) { 201 204 $error = __( 'Error: The plugin already exists.', 'wporg-plugins' ); 202 205
Note: See TracChangeset
for help on using the changeset viewer.