This format isn't that strange.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-01-05 20:59:30 +00:00
parent 83b131f8e3
commit 6f8cc7b02d
1 changed files with 1 additions and 2 deletions

View File

@ -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();