Ticket #2306: 2306.patch
File 2306.patch, 935 bytes (added by , 8 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php
143 143 144 144 // Do not allow themes with WordPress and Theme in the theme name. 145 145 if ( false !== strpos( $this->theme_slug, 'wordpress' ) || false !== strpos( $this->theme_slug, 'theme' ) ) { 146 return __( 'You cannot use WordPress or theme in your theme name.', 'wporg-themes' ); 146 /* translators: 1: 'WordPress', 2: 'theme' */ 147 return sprintf( __( 'You cannot use %1$s or %2$s in your theme name.', 'wporg-themes' ), 148 'WordPress', 149 'theme' 150 ); 147 151 } 148 152 149 153 // Populate author.