Migrating Plugins and Themes to 2.7/Enhanced Comment Display
<?php if ( is_singular() ) wp_enqueue_script( "comment-reply" ); ?>', 'theme-check' ); $this->error[] = sprintf(''.__('REQUIRED','theme-check').': '.__('Could not find the comment-reply script enqueued. %1$s', 'theme-check'), $check); $ret = false; } else { $this->error[] = ''.__('INFO','theme-check').': '.__('Could not find the comment-reply script enqueued, however a reference to \'comment-reply\' was found. Make sure that the comment-reply script is being enqueued properly on singular pages.', 'theme-check'); } } return $ret; } function getError() { return $this->error; } } $themechecks[] = new Comment_Reply;