Instant Indexing for Google - Version 1.1.2

Version Description

Download this release

Release Info

Developer rankmath
Plugin Icon 128x128 Instant Indexing for Google
Version 1.1.2
Comparing to
See all releases

Code changes from version 1.1.1 to 1.1.2

assets/js/console.js CHANGED
@@ -102,7 +102,9 @@ jQuery(document).ready(function($) {
102
  $('#instant-indexing').submit();
103
  }
104
 
105
- $(window).on('load', function() {
106
- $('#giapi-submit').prop('disabled', false);
107
- });
 
 
108
  });
102
  $('#instant-indexing').submit();
103
  }
104
 
105
+
106
+ });
107
+
108
+ jQuery(window).on('load', function() {
109
+ jQuery('#giapi-submit').prop('disabled', false);
110
  });
assets/js/console.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){var r={};function s(t){if(r[t])return r[t].exports;var i=r[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,s),i.l=!0,i.exports}s.m=e,s.c=r,s.d=function(e,r,t){s.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,r){if(1&r&&(e=s(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(s.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var i in e)s.d(t,i,function(r){return e[r]}.bind(null,i));return t},s.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(r,"a",r),r},s.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},s.p="",s(s.s=0)}([function(e,r){jQuery(document).ready((function(e){var r=e("#giapi-response"),s=e("#giapi-submit"),t=e("#giapi-url"),i=e(".giapi-action"),n=e("#giapi-response-userfriendly");e("#giapi-response-trigger").click((function(r){r.preventDefault(),e(this).find(".dashicons").toggleClass("dashicons-arrow-down-alt2 dashicons-arrow-up-alt2"),e("#giapi-response-wrapper").toggle()})),e("#instant-indexing").submit((function(a){a.preventDefault(),s.attr("disabled","disabled");var o=t.val(),l=i.filter(":checked").val(),d=e("#_wpnonce").val();e.ajax({url:ajaxurl,type:"POST",dataType:"json",data:{action:"rm_giapi",url:o,api_action:l,_wpnonce:d}}).always((function(a){!function(s,a,o){var l=(g=new Date).toLocaleTimeString(),d=t.val().split("\n").filter(Boolean),u=d[0],p=!1,c=i.filter(":checked").val();if(d.length>1&&(u="(batch)",p=!0),n.removeClass("not-ready fail success").addClass("ready").find(".response-id").html("<strong>"+c+"</strong> "+u),"bing_submit"!==o)if(p)n.addClass("success").find(".response-status").text(rm_giapi.l10n_success+" ").siblings(".response-message").text(rm_giapi.l10n_see_response),void 0!==s.error?n.addClass("fail").find(".response-status").text(rm_giapi.l10n_error+" "+s.error.code).siblings(".response-message").text(s.error.message):e.each(s,(function(e,r){if(void 0!==r.error){var s="";void 0!==r.error.code&&(s=r.error.code);void 0!==r.error.message&&r.error.message,n.addClass("fail").find(".response-status").text(rm_giapi.l10n_error+" "+s).siblings(".response-message").text(r.error.message)}}));else if(void 0!==s.error)n.addClass("fail").find(".response-status").text(rm_giapi.l10n_error+" "+s.error.code).siblings(".response-message").text(s.error.message);else{var f=s;void 0!==s.urlNotificationMetadata&&(f=s.urlNotificationMetadata);var g=new Date(f.latestUpdate.notifyTime);n.addClass("success").find(".response-status").text(rm_giapi.l10n_success+" ").siblings(".response-message").text(rm_giapi.l10n_last_updated+" "+g.toString())}else void 0!==s.error?n.addClass("fail").find(".response-status").text(rm_giapi.l10n_error+" "+s.error.code).siblings(".response-message").text(s.error.message):n.addClass("success").find(".response-status").text(rm_giapi.l10n_success+" ").siblings(".response-message").text(rm_giapi.l10n_see_response);var m=l+" "+c+": "+u+"\n"+JSON.stringify(s,null,2)+"\n"+"-".repeat(56),_=r.val();r.val(m+"\n"+_)}(a,0,l),s.removeAttr("disabled"),e.ajax({url:ajaxurl,type:"POST",dataType:"json",data:{action:"rm_giapi_limits",_wpnonce:d}}).done((function(r){e.each(r,(function(r,s){e("#giapi-limit-"+r).text(s)}))}))}))})),rm_giapi.submit_onload&&e("#instant-indexing").submit(),e(window).on("load",(function(){e("#giapi-submit").prop("disabled",!1)}))}))}]);
1
+ jQuery(document).ready(function(e){var s=e("#giapi-response"),a=e("#giapi-submit"),i=e("#giapi-url"),r=e(".giapi-action"),t=e("#giapi-response-userfriendly");e("#giapi-response-trigger").click(function(s){s.preventDefault(),e(this).find(".dashicons").toggleClass("dashicons-arrow-down-alt2 dashicons-arrow-up-alt2"),e("#giapi-response-wrapper").toggle()}),e("#instant-indexing").submit(function(n){n.preventDefault(),a.attr("disabled","disabled");var o=i.val(),l=r.filter(":checked").val(),d=e("#_wpnonce").val();e.ajax({url:ajaxurl,type:"POST",dataType:"json",data:{action:"rm_giapi",url:o,api_action:l,_wpnonce:d}}).always(function(n){!function(a,n,o){var l=(m=new Date).toLocaleTimeString(),d=i.val().split("\n").filter(Boolean),p=d[0],g=!1,c=r.filter(":checked").val();if(d.length>1&&(p="(batch)",g=!0),t.removeClass("not-ready fail success").addClass("ready").find(".response-id").html("<strong>"+c+"</strong> "+p),"bing_submit"!==o)if(g)t.addClass("success").find(".response-status").text(rm_giapi.l10n_success+" ").siblings(".response-message").text(rm_giapi.l10n_see_response),void 0!==a.error?t.addClass("fail").find(".response-status").text(rm_giapi.l10n_error+" "+a.error.code).siblings(".response-message").text(a.error.message):e.each(a,function(e,s){if(void 0!==s.error){var a="";void 0!==s.error.code&&(a=s.error.code),void 0!==s.error.message&&s.error.message,t.addClass("fail").find(".response-status").text(rm_giapi.l10n_error+" "+a).siblings(".response-message").text(s.error.message)}});else if(void 0!==a.error)t.addClass("fail").find(".response-status").text(rm_giapi.l10n_error+" "+a.error.code).siblings(".response-message").text(a.error.message);else{var u=a;void 0!==a.urlNotificationMetadata&&(u=a.urlNotificationMetadata);var m=new Date(u.latestUpdate.notifyTime);t.addClass("success").find(".response-status").text(rm_giapi.l10n_success+" ").siblings(".response-message").text(rm_giapi.l10n_last_updated+" "+m.toString())}else void 0!==a.error?t.addClass("fail").find(".response-status").text(rm_giapi.l10n_error+" "+a.error.code).siblings(".response-message").text(a.error.message):t.addClass("success").find(".response-status").text(rm_giapi.l10n_success+" ").siblings(".response-message").text(rm_giapi.l10n_see_response);var f=l+" "+c+": "+p+"\n"+JSON.stringify(a,null,2)+"\n"+"-".repeat(56),_=s.val();s.val(f+"\n"+_)}(n,0,l),a.removeAttr("disabled"),e.ajax({url:ajaxurl,type:"POST",dataType:"json",data:{action:"rm_giapi_limits",_wpnonce:d}}).done(function(s){e.each(s,function(s,a){e("#giapi-limit-"+s).text(a)})})})}),rm_giapi.submit_onload&&e("#instant-indexing").submit()}),jQuery(window).on("load",function(){jQuery("#giapi-submit").prop("disabled",!1)});
includes/class-instant-indexing.php CHANGED
@@ -11,7 +11,7 @@ class RM_GIAPI {
11
  *
12
  * @var string
13
  */
14
- public $version = '1.1.1';
15
 
16
  /**
17
  * Holds the admin menu hook suffix for the "dummy" dashboard.
11
  *
12
  * @var string
13
  */
14
+ public $version = '1.1.2';
15
 
16
  /**
17
  * Holds the admin menu hook suffix for the "dummy" dashboard.
instant-indexing.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Instant Indexing
4
  * Plugin URI: https://rankmath.com/wordpress/plugin/instant-indexing/
5
  * Description: Get your website crawled immediately by Google using their NEW Indexing APIs.
6
- * Version: 1.1.1
7
  * Author: Rank Math
8
  * Author URI: https://s.rankmath.com/home
9
  * License: GPL v3
3
  * Plugin Name: Instant Indexing
4
  * Plugin URI: https://rankmath.com/wordpress/plugin/instant-indexing/
5
  * Description: Get your website crawled immediately by Google using their NEW Indexing APIs.
6
+ * Version: 1.1.2
7
  * Author: Rank Math
8
  * Author URI: https://s.rankmath.com/home
9
  * License: GPL v3
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: indexing api, crawling, live streaming, fast indexing, job posting
5
  Tested up to: 5.8.1
6
  Requires at least: 5.6
7
  Requires PHP: 7.2
8
- Stable tag: 1.1.1
9
  License: GPL-2.0+
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.txt
11
 
@@ -106,6 +106,9 @@ Technically, yes. That's what the plugin is made to do. But, please note that we
106
 
107
  == Changelog ==
108
 
 
 
 
109
  = v1.1.1 [Sep 10, 2021] =
110
  * Improved: Apply settings from v1.0.0 if available
111
 
5
  Tested up to: 5.8.1
6
  Requires at least: 5.6
7
  Requires PHP: 7.2
8
+ Stable tag: 1.1.2
9
  License: GPL-2.0+
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.txt
11
 
106
 
107
  == Changelog ==
108
 
109
+ = v1.1.2 [Sep 11, 2021] =
110
+ * Fixed: Send to API button was disabled on Firefox
111
+
112
  = v1.1.1 [Sep 10, 2021] =
113
  * Improved: Apply settings from v1.0.0 if available
114