Opened 9 months ago

Closed 9 months ago

#21549 closed defect (bug) (fixed)

Typo in WP_Theme::get_template_directory_uri

Reported by: batmoo Owned by: nacin
Priority: normal Milestone: 3.4.2
Component: Themes Version:
Severity: normal Keywords: has-patch commit
Cc: batmoo

Description

$theme_root should be $theme_root_uri

Looks like a copy-paste error :)

Attachments (1)

21549.diff (399 bytes) - added by batmoo 9 months ago.

Download all attachments as: .zip

Change History (6)

batmoo9 months ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.4.2

We don't use this method in core, so it was never caught.

Unit tests?

In [21503]:

Fix WP_Theme's get_template_directory_uri() method. props batmoo. see #21549 for trunk.

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

In [21615]:

Fix WP_Theme's get_template_directory_uri() method. props batmoo. fixes #21549 for the 3.4 branch.

Note: See TracTickets for help on using tickets.