Ticket #4866: 4866.diff
File 4866.diff, 1.5 KB (added by , 4 years ago) |
---|
-
trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php
107 107 108 108 return new \WP_Error( 'reserved_name', $error . ' ' . sprintf( 109 109 /* 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' ), 111 111 '<code>' . $this->plugin_slug . '</code>', 112 112 '<code>Plugin Name:</code>' 113 113 ) ); … … 348 348 'developer', 349 349 'featured', 350 350 'filter', 351 'site-kit-by-google', 351 352 'jquery', 352 353 'new', 353 354 'page', 355 'plugins', 354 356 'popular', 355 357 'post', 356 358 'search', … … 359 361 'upload', 360 362 'wordpress', 361 363 'wp-admin', 364 'yoast-seo', 362 365 ); 363 366 364 367 return in_array( $this->plugin_slug, $reserved_slugs ); … … 374 377 'adobe-', 375 378 'advanced-custom-fields-', 376 379 'amazon-', 380 'contact-form-7-', 377 381 'divi-', 378 382 'easy-digital-downloads-', 379 383 'elementor-',