Compare commits
6 Commits
af2e4cbdd6
...
41bb7f855e
Author | SHA1 | Date | |
---|---|---|---|
41bb7f855e | |||
a30032f1ca | |||
0fbd2be3e6 | |||
bbdd20c0f5 | |||
111b72ee1c | |||
5d429a890e |
@ -123,7 +123,7 @@ function uuid_renamer_js() {
|
|||||||
var attachmentId = button.data("id");
|
var attachmentId = button.data("id");
|
||||||
$.post(ajaxurl, { action: "rename_media_to_uuid", attachment_id: attachmentId }, function(response) {
|
$.post(ajaxurl, { action: "rename_media_to_uuid", attachment_id: attachmentId }, function(response) {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
alert(response.data);
|
// alert(response.data);
|
||||||
location.reload();
|
location.reload();
|
||||||
} else {
|
} else {
|
||||||
alert(response.data);
|
alert(response.data);
|
||||||
|
Reference in New Issue
Block a user