WordPress.org

Make WordPress Core

Opened 7 months ago

Closed 7 months ago

Last modified 6 months 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
Milestone: 3.9 Priority: high
Severity: normal Version: 3.8
Component: Unit Tests Keywords:
Focuses: Cc:

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)

comment:1 nacin7 months ago

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

comment:2 nacin7 months 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.

comment:3 nacin7 months ago

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

In 26858:

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

fixes #26566.

comment:4 ocean906 months ago

  • Milestone changed from Awaiting Review to 3.9
Note: See TracTickets for help on using tickets.