Plugin Directory

Changeset 2741198


Ignore:
Timestamp:
06/12/2022 05:35:50 PM (4 years ago)
Author:
webcource
Message:

readme.txt

Location:
wc-captcha/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wc-captcha/trunk/includes/integrations/contact-form-7.php

    r2741189 r2741198  
    11<?php
    22/**
    3  * A module for [wccaptcha]
     3 * A module for [wcccf7]
    44 */
    55
     
    88
    99function wpcf7_add_shortcode_wpcaptcha() {
    10     wpcf7_add_form_tag( 'wccaptcha', 'wpcf7_wpcaptcha_shortcode_handler', true );
     10    wpcf7_add_form_tag( 'wcccf7', 'wpcf7_wpcaptcha_shortcode_handler', true );
    1111}
    1212
     
    120120        return;
    121121
    122     $has_tags = (bool) $contact_form->form_scan_shortcode( array( 'type' => array( 'wccaptcha' ) ) );
     122    $has_tags = (bool) $contact_form->form_scan_shortcode( array( 'type' => array( 'wcccf7' ) ) );
    123123
    124124    if ( ! $has_tags )
     
    133133        return;
    134134
    135     wpcf7_add_tag_generator( 'wccaptcha', __( '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' );
    136136}
    137137
     
    144144                    <tr>
    145145                        <th scope="row">
    146                             <label for="tag-generator-panel-wccaptcha-name">' . esc_html__( 'Name', 'contact-form-7' ) . '</label>
     146                            <label for="tag-generator-panel-wcccf7-name">' . esc_html__( 'Name', 'contact-form-7' ) . '</label>
    147147                        </th>
    148148                        <td>
    149                             <input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-wccaptcha-name" />
     149                            <input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-wcccf7-name" />
    150150                        </td>
    151151                    </tr>
    152152                    <tr>
    153153                        <th scope="row">
    154                             <label for="tag-generator-panel-wccaptcha-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>
    155155                        </th>
    156156                        <td>
    157                             <input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-wccaptcha-id" />
     157                            <input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-wcccf7-id" />
    158158                        </td>
    159159                    </tr>
    160160                    <tr>
    161161                        <th scope="row">
    162                             <label for="tag-generator-panel-wccaptcha-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>
    163163                        </th>
    164164                        <td>
    165                             <input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-wccaptcha-class" />
     165                            <input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-wcccf7-class" />
    166166                        </td>
    167167                    </tr>
     
    171171    </div>
    172172    <div class="insert-box">
    173         <input type="text" name="wccaptcha" class="tag code" readonly="readonly" onfocus="this.select();">
     173        <input type="text" name="wcccf7" class="tag code" readonly="readonly" onfocus="this.select();">
    174174        <div class="submitbox">
    175175            <input type="button" class="button button-primary insert-tag" value="' . esc_attr__( 'Insert Tag', 'contact-form-7' ) . '">
  • wc-captcha/trunk/readme.txt

    r2741189 r2741198  
    66Requires PHP: 7.0
    77Tested up to: 6.0
    8 Stable tag: 1.3.1
     8Stable tag: 1.3.2
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • wc-captcha/trunk/wc-captcha.php

    r2741189 r2741198  
    33Plugin Name: WC Captcha
    44Description: 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.1
     5Version: 1.3.2
    66Author: WebCource
    77Author URI: http://www.webcource.com/rimuc/
Note: See TracChangeset for help on using the changeset viewer.