WordPress.org

Ready to get started?Download WordPress

Forums

WP-Optimize
get_bloginfo ( 'siteurl' ) depreciated (2 posts)

  1. admintiger
    Member
    Posted 2 years ago #

    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/

  2. admintiger
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.