Merge pull request 'v1.5.1' (#5) from v1.5.1 into main

Reviewed-on: #5
This commit is contained in:
2025-02-12 20:26:06 +00:00

View File

@ -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);