Making WordPress.org

Changeset 3447


Ignore:
Timestamp:
06/18/2016 04:54:36 PM (9 years ago)
Author:
obenland
Message:

Plugin Directory: More helpful error message on duplicate plugin name.

Props ChopinBach.
Fixes #1700.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php

    r3335 r3447  
    9999        if ( $plugin_post instanceof \WP_Post && $plugin_post->post_author != get_current_user_id() ) {
    100100            /* translators: 1: plugin slug, 2: style.css */
    101             return sprintf( __( 'There is already a plugin called %1$s by a different author. Please change the name of your plugin and upload it again.', 'wporg-plugins' ),
     101            return sprintf( __( 'There is already a plugin called %1$s by a different author. Please change the name of your plugin in the plugin header file and upload it again.', 'wporg-plugins' ),
    102102                '<code>' . $this->plugin_slug . '</code>'
    103103            );
Note: See TracChangeset for help on using the changeset viewer.