[theme-reviewers] Theme Check: enqueuing 'comment-reply' as a dependency fails the theme

Simon Prosser pross at pross.org.uk
Tue Jul 12 23:45:06 UTC 2011


Lance, why is there a bash file? in bin/?

On 13 July 2011 00:36, Lance Willett <nanobar at gmail.com> wrote:
> Otto and Simon,
> The P2 theme adds 'comment-reply' as a dependency to the theme's main
> JS file, using wp_enqueue_script(). That makes it fail the theme
> check, both in the plugin, and in the Extend ZIP uploader.
>
> --
> REQUIRED: Could not find wp_enqueue_script( 'comment-reply' ). See:
> Migrating Plugins and Themes to 2.7/Enhanced Comment Display
>
>  <?php if ( is_singular() ) wp_enqueue_script( "comment-reply" ); ?>
> --
>
> Could you update the check to allow enqueuing it as a dependency instead?
>
> (I added it the long-hand way for now to get the latest version up.)
>
> Thanks,
> Lance
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>



-- 
My Blog: http://www.pross.org.uk/
Plugins : http://www.pross.org.uk/plugins/
Themes: http://wordpress.org/extend/themes/profile/pross


More information about the theme-reviewers mailing list