mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 23:58:03 +00:00
Use _deprecated_argument() in get_bloginfo() and then don't pass deprecated argument to get_bloginfo(). Fixes #11652 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12587 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+1
-1
@@ -371,7 +371,7 @@ EOD;
|
||||
if( !current_user_can( 'edit_posts' ) )
|
||||
$this->auth_required( __( 'Sorry, you do not have the right to access this blog.' ) );
|
||||
|
||||
$home = esc_attr(get_bloginfo_rss('home'));
|
||||
$home = esc_attr(get_bloginfo_rss('url'));
|
||||
|
||||
$categories = "";
|
||||
$cats = get_categories(array('hierarchical' => 0, 'hide_empty' => 0));
|
||||
|
||||
Reference in New Issue
Block a user