Changeset 2741198
- Timestamp:
- 06/12/2022 05:35:50 PM (4 years ago)
- Location:
- wc-captcha/trunk
- Files:
-
- 3 edited
-
includes/integrations/contact-form-7.php (modified) (6 diffs)
-
readme.txt (modified) (1 diff)
-
wc-captcha.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wc-captcha/trunk/includes/integrations/contact-form-7.php
r2741189 r2741198 1 1 <?php 2 2 /** 3 * A module for [wcc aptcha]3 * A module for [wcccf7] 4 4 */ 5 5 … … 8 8 9 9 function wpcf7_add_shortcode_wpcaptcha() { 10 wpcf7_add_form_tag( 'wcc aptcha', 'wpcf7_wpcaptcha_shortcode_handler', true );10 wpcf7_add_form_tag( 'wcccf7', 'wpcf7_wpcaptcha_shortcode_handler', true ); 11 11 } 12 12 … … 120 120 return; 121 121 122 $has_tags = (bool) $contact_form->form_scan_shortcode( array( 'type' => array( 'wcc aptcha' ) ) );122 $has_tags = (bool) $contact_form->form_scan_shortcode( array( 'type' => array( 'wcccf7' ) ) ); 123 123 124 124 if ( ! $has_tags ) … … 133 133 return; 134 134 135 wpcf7_add_tag_generator( 'wcc aptcha', __( 'WC Captcha', 'wc-captcha' ), 'wpcf7-wccaptcha', 'wpcf7_tg_pane_wpcaptcha' );135 wpcf7_add_tag_generator( 'wcccf7', __( 'WC Captcha', 'wc-captcha' ), 'wpcf7-wcccf7', 'wpcf7_tg_pane_wpcaptcha' ); 136 136 } 137 137 … … 144 144 <tr> 145 145 <th scope="row"> 146 <label for="tag-generator-panel-wcc aptcha-name">' . esc_html__( 'Name', 'contact-form-7' ) . '</label>146 <label for="tag-generator-panel-wcccf7-name">' . esc_html__( 'Name', 'contact-form-7' ) . '</label> 147 147 </th> 148 148 <td> 149 <input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-wcc aptcha-name" />149 <input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-wcccf7-name" /> 150 150 </td> 151 151 </tr> 152 152 <tr> 153 153 <th scope="row"> 154 <label for="tag-generator-panel-wcc aptcha-id">' . esc_html__( 'Id attribute', 'contact-form-7' ) . '</label>154 <label for="tag-generator-panel-wcccf7-id">' . esc_html__( 'Id attribute', 'contact-form-7' ) . '</label> 155 155 </th> 156 156 <td> 157 <input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-wcc aptcha-id" />157 <input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-wcccf7-id" /> 158 158 </td> 159 159 </tr> 160 160 <tr> 161 161 <th scope="row"> 162 <label for="tag-generator-panel-wcc aptcha-class">' . esc_html__( 'Class attribute', 'contact-form-7' ) . '</label>162 <label for="tag-generator-panel-wcccf7-class">' . esc_html__( 'Class attribute', 'contact-form-7' ) . '</label> 163 163 </th> 164 164 <td> 165 <input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-wcc aptcha-class" />165 <input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-wcccf7-class" /> 166 166 </td> 167 167 </tr> … … 171 171 </div> 172 172 <div class="insert-box"> 173 <input type="text" name="wcc aptcha" class="tag code" readonly="readonly" onfocus="this.select();">173 <input type="text" name="wcccf7" class="tag code" readonly="readonly" onfocus="this.select();"> 174 174 <div class="submitbox"> 175 175 <input type="button" class="button button-primary insert-tag" value="' . esc_attr__( 'Insert Tag', 'contact-form-7' ) . '"> -
wc-captcha/trunk/readme.txt
r2741189 r2741198 6 6 Requires PHP: 7.0 7 7 Tested up to: 6.0 8 Stable tag: 1.3. 18 Stable tag: 1.3.2 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
wc-captcha/trunk/wc-captcha.php
r2741189 r2741198 3 3 Plugin Name: WC Captcha 4 4 Description: WC Captcha is the <strong>Most Powerful Mathematical CAPTCHA for WordPress</strong> that integrates into Login, Registration, Reset Password/Lost Password, Comments Form, Contact Form 7, bbPress, All forms and also Woocommerce forms. 5 Version: 1.3. 15 Version: 1.3.2 6 6 Author: WebCource 7 7 Author URI: http://www.webcource.com/rimuc/
Note: See TracChangeset
for help on using the changeset viewer.