Support » Plugin: WP-Optimize » [Plugin: WP-Optimize] get_bloginfo ( 'siteurl' ) depreciated

  • admintiger

    (@admintiger)


    Line 20 of wp-optimize-admin.php contains:

    define('WP_CONTENT_URL', get_option('siteurl') . '/wp-content');

    Line 23 contains:

    define('WP_ADMIN_URL', get_option('siteurl') . '/wp-admin');

    ‘siteurl’ has been depreciated since WP 2.2 and should be changed to ‘url’.

    http://wordpress.org/extend/plugins/wp-optimize/

Viewing 1 replies (of 1 total)
  • admintiger

    (@admintiger)

    Sorry, I must be going blind! I saw get_option(‘siteurl’) and thought I was seeing get_bloginfo(‘siteurl’).

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-Optimize] get_bloginfo ( 'siteurl' ) depreciated’ is closed to new replies.