plugin update(wp-media-folder)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user