From 4d014c4f402b495215eaa29a9873b98329c6128c 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: http://core.svn.wordpress.org/trunk@21503 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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; } /**