WordPress.org

Forums

Theme Check
[resolved] [Plugin: Theme-Check] more_deprecated.php improvement (1 post)

  1. Gary Jones
    Member
    Posted 4 years ago #

    checks/more_deprecated.php requires that get_bloginfo('home') uses get_bloginfo('url') instead, and bloginfo('home') uses bloginfo('url').

    However, checks/suggested.php recommends that get_bloginfo('url') uses home_url(), and bloginfo('url') uses echo home_url().

    Shouldn't more_deprecated be suggesting the use of home_url() / echo home_url() instead of an intermediate piece of code, which in a re-check would suggest to be changed to something else?

    In summary, currently:
    Found 1, use 2.
    Found 2, use 3.

    Better:
    Found 1, use 3.

    http://wordpress.org/extend/plugins/theme-check/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic