WP - Displays Auth Key when plugin successfuly installed and activated
This commit is contained in:
@@ -76,7 +76,7 @@ beef.execute(function() {
|
|||||||
result_text = xhr.responseXML.getElementById('message').innerText;
|
result_text = xhr.responseXML.getElementById('message').innerText;
|
||||||
|
|
||||||
if (/plugin activated/i.test(result_text)) {
|
if (/plugin activated/i.test(result_text)) {
|
||||||
log('Plugin installed and activated!', 'success');
|
log('Plugin installed and activated! - Auth Key: <%= @auth_key %>', 'success');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
log('Error while activating the plugin: ' + result_text, 'error');
|
log('Error while activating the plugin: ' + result_text, 'error');
|
||||||
|
|||||||
Reference in New Issue
Block a user