WordPress.org

Making WordPress.org

Ticket #5452: 5452.diff

File 5452.diff, 3.6 KB (added by Ipstenu, 14 months ago)
  • trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php

     
    121121                                // Trademarks that do NOT end in "-" indicate slug cannot contain term at all.
    122122                                $message = sprintf(
    123123                                        /* translators: 1: plugin slug, 2: trademarked term, 3: 'Plugin Name:', 4: plugin email address */
    124                                         __( 'Your chosen plugin name - %1$s - contains the restricted term "%2$s" and cannot be used at all in your plugin permalink. To proceed with this submission you must remove "%2$s" from the %3$s line in both your main plugin file and readme entirely. Once you\'ve finished, you may upload the plugin again. If you feel this is in error, please email us at %4$s and explain why.', 'wporg-plugins' ),
     124                                        __( 'Your chosen plugin name - %1$s - contains the restricted term "%2$s" and cannot be used at all in your plugin permalink nor the display name. To proceed with this submission you must remove "%2$s" from the %3$s line in both your main plugin file and readme entirely. Once you\'ve finished, you may upload the plugin again. If you feel this is in error, please email us at %4$s and explain why.', 'wporg-plugins' ),
    125125                                        '<code>' . $this->plugin_slug . '</code>',
    126126                                        trim( $this->has_trademarked_slug(), '-' ),
    127127                                        '<code>Plugin Name:</code>',
     
    236236
    237237                                return new \WP_Error( 'already_exists_in_the_wild', $error . ' ' . sprintf(
    238238                                        /* translators: 1: plugin slug, 2: 'Plugin Name:' */
    239                                         __( 'There is already a plugin with the name %1$s known to exist. This generally means the permalink %2$s is already in use outside of WordPress.org and has a significant user base. You must rename your plugin by changing the %3$s line in your main plugin file and in your readme. Once you have done so, you may upload it again. If you feel this is incorrect, email <a href="mailto:%4$s">%4$s</a> and explain why so that we may help you.', 'wporg-plugins' ),
     239                                        __( 'There is already a plugin with the name %1$s known to exist, though it is not hosted on WordPress.org. This means the permalink %2$s is already in use, and has a significant user base. Were we to accept it as-is, our system would overwrite those other installs and potentially damage any existing users. This is especially true since WordPress 5.5 and up will automatically update plugins and themes. You must rename your plugin by changing the %3$s line in your main plugin file and in your readme. Once you have done so, you may upload it again. If you feel this is an incorrect assessment of the situation, please email <a href="mailto:%4$s">%4$s</a> and explain why so that we may help you.', 'wporg-plugins' ),
    240240                                        '<code>' . $this->plugin['Name'] . '</code>',
    241241                                        '<code>' . $this->plugin_slug . '</code>',
    242242                                        '<code>Plugin Name:</code>',
     
    436436                        'aws-',
    437437                        'bbpress-',
    438438                        'bing-',
     439                        'bootstrap-',
    439440                        'buddypress-',
    440441                        'contact-form-7-',
    441442                        'divi-',
     
    447448                        'feedburner',
    448449                        'github-',
    449450                        'google-',
     451                        'googles-',
    450452                        'gravity-forms-',
    451453                        'gutenberg',
    452454                        'ig-',
     
    465467                        'whats-app',
    466468                        'watson',
    467469                        'windows-',
    468                         'woocommerce', // technically ending with '-for-woocommerce' is allowed.
     470                        'wocommerce',
     471                        'woocommerce',  // technically ending with '-for-woocommerce' is allowed.
    469472                        'woo-commerce',
    470473                        'woo-',
    471474                        'wordpress',