Making WordPress.org

Changeset 10287


Ignore:
Timestamp:
09/25/2020 08:36:00 PM (5 years ago)
Author:
Ipstenu
Message:

Plugin Directory: Update Blocked Terms list

Adding common 'workarounds' as well as Bootstrap to the list

Also updating language to clarify why reusing permalinks is bad,
and trying to cover more bases with other blockers.

Fixes #5452

File:
1 edited

Legend:

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

    r10123 r10287  
    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(), '-' ),
     
    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>',
     
    437437            'bbpress-',
    438438            'bing-',
     439            'bootstrap-',
    439440            'buddypress-',
    440441            'contact-form-7-',
     
    448449            'github-',
    449450            'google-',
     451            'googles-',
    450452            'gravity-forms-',
    451453            'gutenberg',
     
    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-',
Note: See TracChangeset for help on using the changeset viewer.