Making WordPress.org


Ignore:
Timestamp:
11/20/2019 11:07:11 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Plugin Directory: Update the list of reserved slugs.

Props Ipstenu.
Fixes #4866.

File:
1 edited

Legend:

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

    r9130 r9287  
    108108            return new \WP_Error( 'reserved_name', $error . ' ' . sprintf(
    109109                /* translators: 1: plugin slug, 2: 'Plugin Name:' */
    110                 __( 'Your chosen plugin name - %1$s - has been reserved and cannot be used. Please change the %2$s line in your main plugin file and readme, then you may upload it again.', 'wporg-plugins' ),
     110                __( 'Your chosen plugin name - %1$s - has been reserved or otherwise restricted from use entirely. Please change the %2$s line in your main plugin file and readme, then you may upload it again.', 'wporg-plugins' ),
    111111                '<code>' . $this->plugin_slug . '</code>',
    112112                '<code>Plugin Name:</code>'
     
    349349            'featured',
    350350            'filter',
    351             'jquery',
    352351            'new',
    353352            'page',
     353            'plugins',
    354354            'popular',
    355355            'post',
     
    358358            'updated',
    359359            'upload',
     360            'wp-admin',
     361            // Reserved names.
     362            'jquery',
     363            'site-kit-by-google',
    360364            'wordpress',
    361             'wp-admin',
     365            'yoast-seo',
    362366        );
    363367
     
    375379            'advanced-custom-fields-',
    376380            'amazon-',
     381            'contact-form-7-',
    377382            'divi-',
    378383            'easy-digital-downloads-',
Note: See TracChangeset for help on using the changeset viewer.