WordPress.org

Support

Support » Plugins and Hacks » Theme Check » [Resolved] [Plugin: Theme-Check] more_deprecated.php improvement

[Resolved] [Plugin: Theme-Check] more_deprecated.php improvement

  • 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/

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