Version Description
Download this release
Release Info
Developer | rankmath |
Plugin | 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 +5 -3
- assets/js/console.min.js +1 -1
- includes/class-instant-indexing.php +1 -1
- instant-indexing.php +1 -1
- readme.txt +4 -1
assets/js/console.js
CHANGED
@@ -102,7 +102,9 @@ jQuery(document).ready(function($) {
|
|
102 |
$('#instant-indexing').submit();
|
103 |
}
|
104 |
|
105 |
-
|
106 |
-
|
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 |
-
|
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.
|
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.
|
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.
|
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 |
|