WordPress.org

Support

Support » Plugins and Hacks » All in One SEO Pack » deprecated function calls

deprecated function calls

  • Hello hallsofmontezuma,
    I’v found a pair of deprecated function calls in your plugin here:

    all-in-one-seo-pack/aioseop.class.php:505
    all-in-one-seo-pack/aioseop.class.php:509

    They both use get_author_link() instead of get_author_posts_url(), so I’ve patched them like this:

    505: $link = get_author_posts_url($author->ID, $author->user_nicename);
    509: $link = get_author_posts_url($userid, $cache_userdata[$userid]->user_nicename);

    Cheers, Daniele.

    http://wordpress.org/extend/plugins/all-in-one-seo-pack/

  • The topic ‘deprecated function calls’ is closed to new replies.
Skip to toolbar