plugin update(wp-media-folder)

This commit is contained in:
Tony Volpe
2024-07-23 13:26:20 -04:00
parent 316f4ab4e1
commit aa4d364762
12 changed files with 90 additions and 40 deletions

View File

@@ -122,7 +122,7 @@ class WpMediaFolder
}
if ($check === 'not_permission') {
wp_die(-3);
wp_die(esc_html__('You do not have permission to update this attachment', 'wpmf'));
}
}
}
@@ -160,7 +160,7 @@ class WpMediaFolder
}
if ($check === 'not_permission') {
wp_die(-3);
wp_die(esc_html__('You do not have permission to update this attachment', 'wpmf'));
}
return $maybe_empty;
}
@@ -198,7 +198,7 @@ class WpMediaFolder
}
if (null !== $check) {
wp_die(-3);
wp_die(esc_html__('You do not have permission to delete this attachment', 'wpmf'));
}
return $delete;