2 Commits

Author SHA1 Message Date
41bb7f855e Merge tag 'v1.5' of ssh://gitea.gnilebein.de:22222/gnilebein/wordpres-uuid-file-renamer into v1.5 2025-02-12 21:25:11 +01:00
a30032f1ca v1.5.1
Signed-off-by: Patrick Niebeling <patrick.niebeling@adacor.com>
2025-02-12 21:24:57 +01: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);