Changeset 821475
- Timestamp:
- 12/13/2013 09:54:50 PM (12 years ago)
- Location:
- comment-gatekeeper
- Files:
-
- 11 added
- 1 deleted
- 2 edited
-
tags/1.0 (added)
-
tags/1.0/comment-gatekeeper.php (added)
-
tags/1.0/includes (added)
-
tags/1.0/includes/comment-form.php (added)
-
tags/1.0/includes/settings.php (added)
-
tags/1.0/lang (added)
-
tags/1.0/lang/comment-gatekeeper-es_ES.mo (added)
-
tags/1.0/lang/comment-gatekeeper.pot (added)
-
tags/1.0/readme.txt (added)
-
trunk/comment-gatekeeper.php (modified) (3 diffs)
-
trunk/lang/comment-gatekeeper(1).pot (deleted)
-
trunk/lang/comment-gatekeeper-es_ES.mo (added)
-
trunk/lang/comment-gatekeeper.pot (added)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
comment-gatekeeper/trunk/comment-gatekeeper.php
r819115 r821475 6 6 Author: Stuart Sequeira 7 7 Author URI: http://lb3computingsolutions.com/about/ 8 Version: 0.9.48 Version: 1.0 9 9 Text Domain: comment-gatekeeper 10 10 */ … … 29 29 } 30 30 31 define('LB3CGK_VERSION', ' 0.9.3');31 define('LB3CGK_VERSION', '1.0'); 32 32 33 33 … … 70 70 -----*/ 71 71 include_once( LB3CGK_PLUGIN_DIR . '/includes/comment-form.php'); 72 73 74 75 /*---------- 76 LANGUAGE 77 --------------------------------------------------------------------------------------------------------------*/ 78 79 add_action('plugins_loaded', 'lb3cgk_load_lang'); 80 81 function lb3cgk_load_lang() { 82 83 /** Set our unique textdomain string */ 84 $textdomain = 'comment-gatekeeper'; 85 86 /** The 'plugin_locale' filter is also used by default in load_plugin_textdomain() */ 87 $locale = apply_filters( 'plugin_locale', get_locale(), $textdomain ); 88 89 /** Set filter for WordPress languages directory */ 90 $wp_lang_dir = apply_filters( 91 'lb3cgk_wp_lang_dir', 92 WP_LANG_DIR . '/'.basename( dirname( __FILE__ ) ).'/' . $textdomain . '-' . $locale . '.mo' 93 ); 94 95 /** Translations: First, look in WordPress' "languages" folder = custom & update-secure! */ 96 load_textdomain( $textdomain, $wp_lang_dir ); 97 98 /** Translations: Secondly, look in plugin's "lang" folder = default */ 99 $plugin_dir = basename( dirname( __FILE__ ) ); 100 $lang_dir = apply_filters( 'lb3cgk_lang_dir', $plugin_dir . '/lang/' ); 101 load_plugin_textdomain( $textdomain, FALSE, $lang_dir ); 102 103 } -
comment-gatekeeper/trunk/readme.txt
r819115 r821475 1 1 === Comment Gatekeeper === 2 2 Contributors: StuartSequeira 3 Donate link: http://makesenseofitall.com/ 2013/12/comment-gatekeeper-quick-start-guide/3 Donate link: http://makesenseofitall.com/tag/comment-gatekeeper/ 4 4 Tags: comments, spam 5 5 Requires at least: 3.0.3 6 Tested up to: 3. 7.17 Stable tag: 0.9.46 Tested up to: 3.8 7 Stable tag: 1.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 15 15 Block comment spam by inserting a question and answer field on your comment forms. No more wasting your time emptying out pages of spam messages just to get to the real comments from real visitors! 16 16 17 You can create your own simple question, like "What is 1 plus 1?" and the commenter must supply an answer on the comment form. If the commenter can't answer the question correctly, this great little plugin blocks the comment from getting into your website. 17 You can create your own simple question, like "What is 1 plus 1?" and the commenter must supply an answer on the comment form. If the commenter can't answer the question correctly, this great little plugin blocks the comment from getting into your website. 18 19 Thanks to Andrew Kurtis and his team at Web Hosting Hub for translating this plugin into Spanish! 18 20 19 21 … … 41 43 == Changelog == 42 44 45 = 1.0 = 46 Add Spanish translation 47 48 = 0.9.4 = 49 Modify english instructions to prepare for translations 50 51 = 0.9.3 = 52 Add gettext functions on two English sentences that were missing it 53 43 54 = 0.9.2 = 44 55 Add CSS classes to form field
Note: See TracChangeset
for help on using the changeset viewer.