[theme-reviewers] Theme Check: enqueuing 'comment-reply' as a dependency fails the theme
Lance Willett
nanobar at gmail.com
Tue Jul 12 23:36:10 UTC 2011
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
More information about the theme-reviewers
mailing list