Opened 4 years ago

Closed 4 years ago

#4928 closed defect (bug) (fixed)

Prevent users from uploading themes using the default theme names

Reported by: poena's profile poena Owned by: otto42's profile Otto42
Milestone: Priority: normal
Component: Theme Directory Keywords:


The theme directory blocks users from uploading themes that uses the Twenty YEAR series as their names.

But the function has_reserved_slug only blocks the theme names ranging from Twenty Ten to Twenty Twenty.

Theme names that are already in use are also blocked, so this function only needs to check for future themes.

Change History (1)

#1 @Otto42
4 years ago

  • Owner set to Otto42
  • Resolution set to fixed
  • Status changed from new to closed

In 9384:

Themes: Reserve the next ten years of default theme names. Fixes #4928

Note: See TracTickets for help on using tickets.