Plugin Directory

Changeset 3175503


Ignore:
Timestamp:
10/25/2024 07:31:24 AM (17 months ago)
Author:
whyun
Message:

release 1.5.5.1

Location:
wpcom-member
Files:
68 added
3 edited

Legend:

Unmodified
Added
Removed
  • wpcom-member/trunk/includes/class-member.php

    r3175177 r3175503  
    285285
    286286        if($captcha && $captcha !== 'noCaptcha'){
    287             $scripts['captcha_label'] = __("I'm not a robot", "wpcom");
    288             $scripts['captcha_verified'] = __("You are verified", "wpcom");
     287            $scripts['captcha_label'] = __("I'm not a robot", WPMX_TD);
     288            $scripts['captcha_verified'] = __("You are verified", WPMX_TD);
    289289        }
    290290
     
    654654                case 'TCaptcha':
    655655                    if( isset($options['tc_appid']) && $options['tc_appid']!='' && $options['tc_appkey']!='' ) {
    656                         $html = '<div class="member-account-item TCaptcha"><label class="member-account-label"></label><div class="member-account-input captcha-button j-TCaptcha"><div class="captcha-icon"><i></i></div><span>'.__("I'm not a robot", "wpcom").'</span><input type="hidden" class="j-Tticket" name="ticket"><input type="hidden" class="j-Trandstr" name="randstr"></div></div>';
     656                        $html = '<div class="member-account-item TCaptcha"><label class="member-account-label"></label><div class="member-account-input captcha-button j-TCaptcha"><div class="captcha-icon"><i></i></div><span>'.__("I'm not a robot", WPMX_TD).'</span><input type="hidden" class="j-Tticket" name="ticket"><input type="hidden" class="j-Trandstr" name="randstr"></div></div>';
    657657                    }
    658658                    break;
     
    665665                    if(isset($options['alic_sceneId']) && $options['alic_sceneId'] !='' && $options['alic_prefix'] !='' && $options['alic_access_id'] !='' && $options['alic_access_secret'] != ''){
    666666                        $rand_id = rand(1000, 9999);
    667                         $html = '<div class="member-account-item aliCaptcha"><label class="member-account-label"></label><div class="member-account-input captcha-button" id="ali-captcha-btn-' . $rand_id . '"><div class="captcha-icon"><i></i></div><span>' . __("I'm not a robot", "wpcom") . '</span></div><div id="ali-captcha-' . $rand_id . '">'. wp_nonce_field('aliyun_captcha_verify', 'captcha_verify', true, false) . '</div><input type="hidden" name="verify-key"></div>';
     667                        $html = '<div class="member-account-item aliCaptcha"><label class="member-account-label"></label><div class="member-account-input captcha-button" id="ali-captcha-btn-' . $rand_id . '"><div class="captcha-icon"><i></i></div><span>' . __("I'm not a robot", WPMX_TD) . '</span></div><div id="ali-captcha-' . $rand_id . '">'. wp_nonce_field('aliyun_captcha_verify', 'captcha_verify', true, false) . '</div><input type="hidden" name="verify-key"></div>';
    668668                    }
    669669                    break;
    670670                case 'hCaptcha':
    671671                    if( isset($options['hc_sitekey']) && $options['hc_sitekey']!='' && $options['hc_secret']!='' ) {
    672                         $html = '<div class="member-account-item hCaptcha"><label class="member-account-label"></label><div class="member-account-input captcha-button"><div class="h-captcha"></div><div class="captcha-icon"><i></i></div><span>'.__("I'm not a robot", "wpcom").'</span></div></div>';
     672                        $html = '<div class="member-account-item hCaptcha"><label class="member-account-label"></label><div class="member-account-input captcha-button"><div class="h-captcha"></div><div class="captcha-icon"><i></i></div><span>'.__("I'm not a robot", WPMX_TD).'</span></div></div>';
    673673                    }
    674674                    break;
    675675                case 'reCAPTCHA':
    676676                    if( isset($options['gc_sitekey']) && $options['gc_sitekey']!='' && $options['gc_secret']!='' ) {
    677                         $html = '<div class="member-account-item reCAPTCHA"><label class="member-account-label"></label><div class="member-account-input captcha-button"><div class="g-recaptcha"></div><div class="captcha-icon"><i></i></div><span>'.__("I'm not a robot", "wpcom").'</span></div></div>';
     677                        $html = '<div class="member-account-item reCAPTCHA"><label class="member-account-label"></label><div class="member-account-input captcha-button"><div class="g-recaptcha"></div><div class="captcha-icon"><i></i></div><span>'.__("I'm not a robot", WPMX_TD).'</span></div></div>';
    678678                    }
    679679                    break;
    680680                case '_Captcha':
    681                     $html = '<div class="member-account-item _Captcha"><label class="member-account-label"></label><div class="member-account-input captcha-button"><div class="w-captcha"></div><div class="captcha-icon"><i></i></div><span>'.__("I'm not a robot", "wpcom").'</span><input type="hidden" class="j-ticket" name="ticket"><input type="hidden" class="j-randstr" name="randstr"></div></div>';
     681                    $html = '<div class="member-account-item _Captcha"><label class="member-account-label"></label><div class="member-account-input captcha-button"><div class="w-captcha"></div><div class="captcha-icon"><i></i></div><span>'.__("I'm not a robot", WPMX_TD).'</span><input type="hidden" class="j-ticket" name="ticket"><input type="hidden" class="j-randstr" name="randstr"></div></div>';
    682682                    break;
    683683                case 'smsCode':
     
    10141014                case 'TCaptcha':
    10151015                    if( isset($options['tc_appid']) && $options['tc_appid']!='' && $options['tc_appkey']!='' ) {
    1016                         $html = '<div class="form-group TCaptcha"><div class="captcha-button j-TCaptcha"><div class="captcha-icon"><i></i></div><span>'.__("I'm not a robot", "wpcom").'</span></div><input type="hidden" class="j-Tticket" name="ticket"><input type="hidden" class="j-Trandstr" name="randstr"></div>';
     1016                        $html = '<div class="form-group TCaptcha"><div class="captcha-button j-TCaptcha"><div class="captcha-icon"><i></i></div><span>'.__("I'm not a robot", WPMX_TD).'</span></div><input type="hidden" class="j-Tticket" name="ticket"><input type="hidden" class="j-Trandstr" name="randstr"></div>';
    10171017                    }
    10181018                    break;
     
    10251025                    if (isset($options['alic_sceneId']) && $options['alic_sceneId'] != '' && $options['alic_prefix'] != '' && $options['alic_access_id'] != '' && $options['alic_access_secret'] != '') {
    10261026                        $rand_id = rand(1000, 9999);
    1027                         $html = '<div class="form-group aliCaptcha"><div class="captcha-button" id="ali-captcha-btn-' . $rand_id . '"><div class="ali-captcha"></div><div class="captcha-icon"><i></i></div><span>' . __("I'm not a robot", "wpcom") . '</span></div><div id="ali-captcha-' . $rand_id . '">' . wp_nonce_field('aliyun_captcha_verify', 'captcha_verify', true, false) . '</div><input type="hidden" name="verify-key"></div>';
     1027                        $html = '<div class="form-group aliCaptcha"><div class="captcha-button" id="ali-captcha-btn-' . $rand_id . '"><div class="ali-captcha"></div><div class="captcha-icon"><i></i></div><span>' . __("I'm not a robot", WPMX_TD) . '</span></div><div id="ali-captcha-' . $rand_id . '">' . wp_nonce_field('aliyun_captcha_verify', 'captcha_verify', true, false) . '</div><input type="hidden" name="verify-key"></div>';
    10281028                    }
    10291029                    break;
    10301030                case 'hCaptcha':
    10311031                    if( isset($options['hc_sitekey']) && $options['hc_sitekey']!='' && $options['hc_secret']!='' ) {
    1032                         $html = '<div class="form-group hCaptcha"><div class="captcha-button"><div class="h-captcha"></div><div class="captcha-icon"><i></i></div><span>'.__("I'm not a robot", "wpcom").'</span></div></div>';
     1032                        $html = '<div class="form-group hCaptcha"><div class="captcha-button"><div class="h-captcha"></div><div class="captcha-icon"><i></i></div><span>'.__("I'm not a robot", WPMX_TD).'</span></div></div>';
    10331033                    }
    10341034                    break;
    10351035                case 'reCAPTCHA':
    10361036                    if( isset($options['gc_sitekey']) && $options['gc_sitekey']!='' && $options['gc_secret']!='' ) {
    1037                         $html = '<div class="form-group reCAPTCHA"><div class="captcha-button"><div class="g-recaptcha"></div><div class="captcha-icon"><i></i></div><span>'.__("I'm not a robot", "wpcom").'</span></div></div>';
     1037                        $html = '<div class="form-group reCAPTCHA"><div class="captcha-button"><div class="g-recaptcha"></div><div class="captcha-icon"><i></i></div><span>'.__("I'm not a robot", WPMX_TD).'</span></div></div>';
    10381038                    }
    10391039                    break;
    10401040                case '_Captcha':
    1041                     $html = '<div class="form-group _Captcha"><div class="captcha-button"><div class="w-captcha"></div><div class="captcha-icon"><i></i></div><span>'.__("I'm not a robot", "wpcom").'</span><input type="hidden" class="j-ticket" name="ticket"><input type="hidden" class="j-randstr" name="randstr"></div></div>';
     1041                    $html = '<div class="form-group _Captcha"><div class="captcha-button"><div class="w-captcha"></div><div class="captcha-icon"><i></i></div><span>'.__("I'm not a robot", WPMX_TD).'</span><input type="hidden" class="j-ticket" name="ticket"><input type="hidden" class="j-randstr" name="randstr"></div></div>';
    10421042                    break;
    10431043                case 'smsCode':
  • wpcom-member/trunk/index.php

    r3175177 r3175503  
    33 * Plugin Name: WPCOM Member 用户中心
    44 * Description: WordPress用户中心插件 / User profile & membership plugin for WordPress
    5  * Version: 1.5.5
     5 * Version: 1.5.5.1
    66 * Author: WPCOM
    77 * Author URI: https://www.wpcom.cn
     
    1010 */
    1111
    12 define( 'WPMX_VERSION', '1.5.5' );
     12define( 'WPMX_VERSION', '1.5.5.1' );
    1313define( 'WPMX_DIR', plugin_dir_path( __FILE__ ) );
    1414define( 'WPMX_URI', plugins_url( '/', __FILE__ ) );
  • wpcom-member/trunk/readme.txt

    r3175177 r3175503  
    55Requires at least: 6.1.1
    66Tested up to: 6.7.0
    7 Stable tag: 1.5.5
     7Stable tag: 1.5.5.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.