From 6f8cc7b02d7cebfb0a7cd1b6fa88c7761bb17810 Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 5 Jan 2012 20:59:30 +0000 Subject: [PATCH] This format isn't that strange. git-svn-id: http://svn.automattic.com/wordpress/trunk@19688 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/script-loader.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 53f176a436..83cc09e7f2 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -416,8 +416,7 @@ function wp_default_scripts( &$scripts ) { * @param object $styles */ function wp_default_styles( &$styles ) { - // This checks to see if site_url() returns something and if it does not - // then it assigns $guess_url to wp_guess_url(). Strange format, but it works. + if ( ! $guessurl = site_url() ) $guessurl = wp_guess_url();