v1.5.0
This commit is contained in:
parent
8e6a52d8ce
commit
b2849880ec
8 changed files with 91 additions and 16 deletions
|
|
@ -20,11 +20,14 @@
|
|||
$btn.prop( 'disabled', true ).text( RobotstxtManagerSettings.i18n.testing );
|
||||
$result.text( '' ).css( 'color', '' );
|
||||
|
||||
var apiKey = $( '#robotstxt_manager_api_key' ).val();
|
||||
|
||||
$.post(
|
||||
RobotstxtManagerSettings.ajaxUrl,
|
||||
{
|
||||
action: 'robotstxt_manager_test_connection',
|
||||
nonce: RobotstxtManagerSettings.nonce,
|
||||
robotstxt_manager_api_key: apiKey,
|
||||
},
|
||||
function ( response ) {
|
||||
if ( response.success ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue