Setting comment text as required
You can hook into ‘pre_comment_on_post’ and inspect $_POST[‘comment’]: <?php # -*- coding: utf-8 -*- /** * Plugin Name: T5 Require comment text * Description: Dies if there is no comment text. * Plugin URI: http://wordpress.stackexchange.com/q/55679/73 * Version: 2012.07 * Author: Thomas Scholz * Author URI: http://toscho.de * License: MIT * License URI: http://www.opensource.org/licenses/mit-license.php */ if … Read more