Changeset 818398
- Timestamp:
- 12/10/2013 06:44:46 PM (12 years ago)
- Location:
- comment-gatekeeper
- Files:
-
- 6 added
- 4 edited
-
tags/0.9.3 (added)
-
tags/0.9.3/comment-gatekeeper.php (added)
-
tags/0.9.3/includes (added)
-
tags/0.9.3/includes/comment-form.php (added)
-
tags/0.9.3/includes/settings.php (added)
-
tags/0.9.3/readme.txt (added)
-
trunk/comment-gatekeeper.php (modified) (2 diffs)
-
trunk/includes/comment-form.php (modified) (3 diffs)
-
trunk/includes/settings.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
comment-gatekeeper/trunk/comment-gatekeeper.php
r815240 r818398 6 6 Author: Stuart Sequeira 7 7 Author URI: http://lb3computingsolutions.com/about/ 8 Version: 0.9.1 8 Version: 0.9.3 9 Text Domain: comment-gatekeeper 9 10 */ 10 11 … … 28 29 } 29 30 30 define('LB3CGK_VERSION', '0.9 ');31 define('LB3CGK_VERSION', '0.9.3'); 31 32 32 33 -
comment-gatekeeper/trunk/includes/comment-form.php
r815240 r818398 64 64 if( '' == $_POST['gatekey']){ 65 65 66 wp_die( __('<strong>ERROR</strong>: please enter a valid spam-filtering answer.' , ' lb3cgk' ) ); //no gatekey was entered66 wp_die( __('<strong>ERROR</strong>: please enter a valid spam-filtering answer.' , 'comment-gatekeeper' ) ); //no gatekey was entered 67 67 68 68 } … … 73 73 74 74 //$gatekey = 'nonce_al_pass'; //no key was entered so set a fake key to fail 75 wp_die( __('<strong>ERROR</strong>: please enter a valid spam-filtering answer.' , ' lb3cgk' ) );//gatekey was not set75 wp_die( __('<strong>ERROR</strong>: please enter a valid spam-filtering answer.' , 'comment-gatekeeper' ) );//gatekey was not set 76 76 77 77 } … … 82 82 83 83 //$_POST['comment'] = ''; //empty the post comment and let it fail 84 wp_die( __('<strong>SORRY</strong>: you did not answer to gatekeeper question correctly.' , ' lb3cgk' ) );84 wp_die( __('<strong>SORRY</strong>: you did not answer to gatekeeper question correctly.' , 'comment-gatekeeper' ) ); 85 85 86 86 } -
comment-gatekeeper/trunk/includes/settings.php
r814784 r818398 21 21 22 22 $section_id = 'lb3cgk_settings_section'; //id for our section 23 $section_title = __( 'Comment Gatekeeper Settings' , ' lb3cgk' ); // title our section23 $section_title = __( 'Comment Gatekeeper Settings' , 'comment-gatekeeper' ); // title our section 24 24 $section_output_function = 'lb3cgk_settings_section_output'; // function to output section html 25 25 … … 47 47 $options_array['challenge_question' ] = array( 48 48 'field_id' => 'lb3cgk_gatekeeper_default', 49 'field_title' => __( 'Default comment gatekeeper question' , ' lb3cgk' )49 'field_title' => __( 'Default comment gatekeeper question' , 'comment-gatekeeper' ) 50 50 ,'field_output_function' => 'lb3cgk_gatekeeper_default_field_output' 51 51 … … 56 56 $options_array['gatelock' ] = array( 57 57 'field_id' => 'lb3cgk_gatelock_default', 58 'field_title' => __( 'Default gatelock' , ' lb3cgk' )58 'field_title' => __( 'Default gatelock' , 'comment-gatekeeper' ) 59 59 ,'field_output_function' => 'lb3cgk_gatelock_default_field_output' 60 60 … … 90 90 function lb3cgk_settings_section_output(){ 91 91 92 echo __("Please complete these site-wide comment gatekeeper settings" , ' lb3cgk' );92 echo __("Please complete these site-wide comment gatekeeper settings" , 'comment-gatekeeper' ); 93 93 94 94 } // end lb3cgk_settings_section_output -
comment-gatekeeper/trunk/readme.txt
r816574 r818398 5 5 Requires at least: 3.0.3 6 6 Tested up to: 3.7.1 7 Stable tag: 0.9. 27 Stable tag: 0.9.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.