Support » Plugin: Theme Check » [Plugin: Theme-Check] Suggestion broke the site.

  • Resolved pszeinert

    (@pszeinert)


    After running Theme Check, I got a few errors and began fixing them one by one. After taking this suggestion:

    Recommended: bloginfo(‘template_directory’) was found in the file header.php.
    Use get_template_directory_uri() instead.

    …I found the CSS was not loading properly.

    Need to add an “echo” command to make this work correctly.

    Recommended: bloginfo(‘template_directory’) was found in the file header.php.
    Use echo get_template_directory_uri() instead.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Simon Prosser

    (@pross)

    Theme Review Admin

    Plugin updated, 20101110.4_r1 fixes this bug.

    Since I already fixed the issue with my code, I will assume this solves it. Thanks for the prompt attention, and thanks for the plugin. It’s really useful for cleaning up themes I have purchased outside of the WordPress.org community.

    Plugin Author Simon Prosser

    (@pross)

    Theme Review Admin

    Glad you find it useful! Why not try a dev version? http://wordpress.org/extend/plugins/theme-check/download/

    Installed the dev version and ran the theme check again. Some of the earlier “recommendations” and “info” disappeared. Did you make it less stringent?

    Specifically, I no longer see a warning about an absolute URL I placed in there and using include instead of get_template_part().

    On the plus side, it does say this:
    Theme passed all the tests!

    Plugin Author Simon Prosser

    (@pross)

    Theme Review Admin

    .7 is the latest and includes the 3.1 specific stuff, trunk is in flux at the moment and the tests probably are not running at all! 😉

    Great! Hopefully this all shakes out by late-December or early-January.

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    I’m currently going through and syncing the checks with the uploader checks to make them identical. So expect a release for this plugin as soon as I work all that out. There’s a lot of checks in here to sort through. 🙂

    Plugin Author Simon Prosser

    (@pross)

    Theme Review Admin

    You can follow the development here: https://github.com/Pross/theme-check

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Theme-Check] Suggestion broke the site.’ is closed to new replies.