From 665ad966368208a77ea8a3f73db449af914d5837 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 14 Aug 2012 18:38:26 +0000 Subject: [PATCH] Fix WP_Theme's get_template_directory_uri() method. props batmoo. see #21549 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@21503 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/class-wp-theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-wp-theme.php b/wp-includes/class-wp-theme.php index fb8dbc369b..e099f39ba3 100644 --- a/wp-includes/class-wp-theme.php +++ b/wp-includes/class-wp-theme.php @@ -814,7 +814,7 @@ final class WP_Theme implements ArrayAccess { else $theme_root_uri = $this->get_theme_root_uri(); - return $theme_root . '/' . $this->template; + return $theme_root_uri . '/' . $this->template; } /**