From f288da4b7b6c36926952ede9c97ad60696e6612d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 2 Mar 2013 21:10:12 +0000 Subject: [PATCH] Use correct variable. see [23575]. see #21767. git-svn-id: http://core.svn.wordpress.org/trunk@23584 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/misc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php index 55e24d6059..b1ee77a183 100644 --- a/wp-admin/includes/misc.php +++ b/wp-admin/includes/misc.php @@ -220,7 +220,7 @@ add_action( 'update_option_page_on_front', 'update_home_siteurl', 10, 2 ); * @return string */ function url_shorten( $url ) { - $short_url = str_replace( array( 'http://', 'www.' ), '', $short_url ); + $short_url = str_replace( array( 'http://', 'www.' ), '', $url ); $short_url = untrailingslashit( $short_url ); if ( strlen( $short_url ) > 35 ) $short_url = substr( $short_url, 0, 32 ) . '...';