Support » Plugin: Theme Check » [Plugin: Theme-Check] more_deprecated.php improvement

  • Resolved Gary Jones


    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.

    Found 1, use 3.

  • The topic ‘[Plugin: Theme-Check] more_deprecated.php improvement’ is closed to new replies.