Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#21549 closed defect (bug) (fixed)

Typo in WP_Theme::get_template_directory_uri

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

Description

$theme_root should be $theme_root_uri

Looks like a copy-paste error :)

Attachments (1)

21549.diff (399 bytes) - added by batmoo 13 years ago.

Download all attachments as: .zip

Change History (6)

@batmoo
13 years ago

#1 @nacin
13 years 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.

#2 @scribu
13 years ago

Unit tests?

#4 @nacin
13 years ago

In [21503]:

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

#5 @nacin
13 years ago

  • 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.