Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#26566 closed task (blessed) (fixed)

Add unit test to verify all bundled themes have valid text domain declared

Reported by: markjaquith Owned by: nacin
Priority: high Milestone: 3.9
Component: Unit Tests Version: 3.8
Severity: normal Keywords:
Cc: Focuses:

Description

#26542 was embarrassing — we almost released Twenty Fourteen without a text domain declared for it. Let's set up a unit test to make sure this never happens again.

Change History (4)

#1 @nacin
13 years ago

Would benefit from public exposure of WP_Theme::$_default_themes.

#2 @nacin
13 years ago

Or can just do a hardcoded array and also fail the test if WP_DEFAULT_THEME is not in the array, which would cause us to update it.

#3 @nacin
13 years ago

  • Owner set to nacin
  • Resolutionfixed
  • Status newclosed

In 26858:

Add unit test to verify all bundled themes have valid text domain declared.

fixes #26566.

#4 @ocean90
13 years ago

  • Milestone Awaiting Review3.9
Note: See TracTickets for help on using tickets.