Opened 8 years ago
Closed 7 years ago
#2306 closed defect (bug) (fixed)
Block "WordPress" and "Theme" as a theme name
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Theme Review | Keywords: | has-patch commit |
Cc: |
Description
The Theme Review Team does not allow themes to have "WordPress" and "theme" in the theme name. The following code in process_upload()
of plugins/theme-directory/class-wporg-themes-upload.php
<?php // Do not allow themes with WordPress and Theme in the theme name. if ( false !== strrpos( $this->theme_slug, 'wordpress' ) || false !== strrpos( $this->theme_slug, 'theme' ) ) { return __( 'You cannot use WordPress or theme in your theme name.', 'wporg-themes' ); }
Attachments (1)
Change History (6)
#3
follow-up:
↓ 4
@
7 years ago
- Keywords has-patch commit added
- Resolution fixed deleted
- Status changed from closed to reopened
WordPress
and theme
should not be translatable here: 2306.patch, or at least need quotes around them.
#4
in reply to:
↑ 3
@
7 years ago
Replying to SergeyBiryukov:
WordPress
andtheme
should not be translatable here: 2306.patch
And here's why:
- Non puoi usare le parole "WordPress" o "tema" nel nome del tuo tema.
- Nu poți folosi WordPress sau tema în numele temei tale.
- No puedes usar las palabras WordPress o tema en el nombre de tu tema.
"tema" is not a restricted word, "theme" is.
Note: See
TracTickets for help on using
tickets.
In 5279: