Plugin Directory

Changeset 1549669


Ignore:
Timestamp:
12/08/2016 06:26:02 PM (9 years ago)
Author:
Sanskritforum
Message:

WP version 4.7 compatibility notice

Location:
skt-nurcaptcha
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • skt-nurcaptcha/tags/3.4.90/readme.txt

    r1463246 r1549669  
    44Tags: security, login form, new user, captcha, spambots, reCAPTCHA, register form, bots, spam, register, anti-spam
    55Requires at least: 4.0
    6 Tested up to: 4.6
     6Tested up to: 4.7
    77Stable tag: 3.4.90
    88
  • skt-nurcaptcha/trunk/js/skt-nurc-functions.js

    r1139945 r1549669  
    11(function($) {
     2    "use strict";
    23    $(document).ready(function(){
    34        // pick initial references
     
    1314        var refstring9 = $('#incorrect_try_again').val();
    1415        var refstring10 = $('#image_alt_text').val();
     16        var r1 = ''; var r2 = '';
    1517        var prestring0 = refstring0;
    1618        var prestring1 = refstring1;
     
    4042        var refimg = $('#sktnurc_theme').val();
    4143        var reflang = $('#sktnurc_lang').val();
    42         var precustom = $('#sktnurc_lang option:selected').val();
     44        //var precustom = $('#sktnurc_lang option:selected').val();
    4345        var refreg = $('#sktnurc_regbutton').val();
    4446        var textreg = $('#sktnurc_regbutton_text').text();
     
    6466        var presloglimit = refloglimit; var presnewversion = refnewversion; var presrectype = refrectype;
    6567        var presatlogin = refatlogin;
    66         if((refkey1!='')&&(refkey2!='')){
     68        if((refkey1!=='')&&(refkey2!=='')){
    6769            $('#setup_alert').css('display','none');
    6870        }
     
    7678        $('#sktnurc_lang').change( function(){
    7779            preslang = $('#sktnurc_lang').val();
    78             if(preslang==reflang){
     80            if(preslang===reflang){
    7981                $('#sktcstlg').slideDown();
    8082                $('#save-advert-lang').fadeOut();
     
    9092            $('#save-advert-lang2').fadeOut();
    9193            prescstlang='basic';
    92             if (refcstlang=='custom'){
     94            if (refcstlang==='custom'){
    9395                $('#save-advert-lang1').fadeIn();
    9496            }
     
    98100            prescstlang='custom';
    99101            $('#save-advert-lang1').fadeOut();
    100             if (refcstlang!='custom'){
     102            if (refcstlang!=='custom'){
    101103                $('#sktlg').slideUp();
    102104                $('#sktcstlg').slideUp();
     
    189191        $('#sktnurc_regbutton').keyup( function(){
    190192            presreg = $('#sktnurc_regbutton').val();
    191             if($.trim(presreg)==""){
     193            if($.trim(presreg)===""){
    192194                presreg=textreg;
    193195            }
     
    259261            logfile_manage(false);
    260262        });
    261         window.alert_check = function() {
     263        //window.alert_check = function() {
     264        function alert_check() {
    262265            r1 = $('#sktnurc_publkey').val();
    263266            r2 = $('#sktnurc_privtkey').val();
    264             if ((r1!='')&&(r2!='')) {
     267            if ((r1!=='')&&(r2!=='')) {
    265268                $('#setup_alert').fadeOut();
    266269            } else {
     
    268271            }
    269272        }
    270         window.advert_check = function() {
    271             if ((presuhop == refuhop) && (presemop==refemop) && (presrcop==refrcop) && (presusrhlp == refusrhlp) && (presemlhlp == refemlhlp) && (presrechlp == refrechlp) && (prestring0 == refstring0) && (prestring1 == refstring1) && (prestring2 == refstring2) && (prestring3 == refstring3) && (prestring4 == refstring4) && (prestring5 == refstring5) && (prestring6 == refstring6) && (prestring7 == refstring7) && (prestring8 == refstring8) && (prestring9 == refstring9) && (prestring10 == refstring10) && (preslang == reflang) && (prescstlang==refcstlang) && (presimg == refimg) && ((presreg==refreg)||((presreg==textreg)&&(refreg==''))) && (preskey1==refkey1) && (preskey2==refkey2) && (preskey3==refkey3) && (presspam0==refspam0) && (presspam1==refspam1) && (presspam2==refspam2) && (preslog == 'no') && (presloglimit==refloglimit) && (presnewversion==refnewversion) && (presrectype == refrectype) && (presatlogin == refatlogin) && (prescustring == refcustring)) {
     273        function advert_check() {
     274        //window.advert_check   = function() {
     275            if ((presuhop === refuhop) && (presemop===refemop) && (presrcop===refrcop) && (presusrhlp === refusrhlp) && (presemlhlp === refemlhlp) && (presrechlp === refrechlp) && (prestring0 === refstring0) && (prestring1 === refstring1) && (prestring2 === refstring2) && (prestring3 === refstring3) && (prestring4 === refstring4) && (prestring5 === refstring5) && (prestring6 === refstring6) && (prestring7 === refstring7) && (prestring8 === refstring8) && (prestring9 === refstring9) && (prestring10 === refstring10) && (preslang === reflang) && (prescstlang===refcstlang) && (presimg === refimg) && ((presreg===refreg)||((presreg===textreg)&&(refreg===''))) && (preskey1===refkey1) && (preskey2===refkey2) && (preskey3===refkey3) && (presspam0===refspam0) && (presspam1===refspam1) && (presspam2===refspam2) && (preslog === 'no') && (presloglimit===refloglimit) && (presnewversion===refnewversion) && (presrectype === refrectype) && (presatlogin === refatlogin) && (prescustring === refcustring)) {
    272276                $('.save-advert').fadeOut();
    273277            } else {
     
    275279            }
    276280        }
    277         window.logfile_manage = function(res){
    278             if (res == true) {
     281        //window.logfile_manage = function(res){
     282        function logfile_manage(res) {
     283            if (res === true) {
    279284                    preslog = "yes";
    280285                    $('#unlink_log_button').fadeOut();
  • skt-nurcaptcha/trunk/js/skt-nurc-login.js

    r501249 r1549669  
    11(function($) {
     2    "use strict";
    23    $(document).ready(function(){
    34       
    45        $('#login_error').each(function(){
    5             new Effect.Shake('login_error');
    6             new Effect.Shake('nurc_form');
     6            $('#login_error').effect("shake");
     7            $('#nurc_form').effect("shake");
     8            //new Effect.Shake('login_error');
     9            //new Effect.Shake('nurc_form');
    710            return false;
    811        });
  • skt-nurcaptcha/trunk/readme.txt

    r1463246 r1549669  
    44Tags: security, login form, new user, captcha, spambots, reCAPTCHA, register form, bots, spam, register, anti-spam
    55Requires at least: 4.0
    6 Tested up to: 4.6
     6Tested up to: 4.7
    77Stable tag: 3.4.90
    88
Note: See TracChangeset for help on using the changeset viewer.