[Resolved] Bug report: get_bloginfo('home') deprecated in attachment.php
Thanks for making this plugin.
When wp_debug is set to true in wp-config.php the following error is thrown on a basic json call http://mysite.local/?json=1
The php warning is:
Notice: get_bloginfo was called with an argument that is deprecated since version 2.2! The home option is deprecated for the family of bloginfo() functions. Use the url option instead.
The error occurs in
$home = get_bloginfo(‘home’);
should be changed to
$home = get_bloginfo(‘url’);
- The topic ‘[Resolved] Bug report: get_bloginfo('home') deprecated in attachment.php’ is closed to new replies.