You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
Suppose slug_field is given but for some reason the corresponding field is empty. Or suppose title is empty. In these cases the plugin will delete the whole parent folder. I think this is very dangerous (this happened to me, fortunately I had a backup).
I don't know if this is the intended behavior. In my copy I added
if (empty($slug)) {
throw new \RuntimeException('Empty slug for a new page. Prevented deleting the whole folder.');
}
The text was updated successfully, but these errors were encountered:
Suppose slug_field is given but for some reason the corresponding field is empty. Or suppose title is empty. In these cases the plugin will delete the whole parent folder. I think this is very dangerous (this happened to me, fortunately I had a backup).
I don't know if this is the intended behavior. In my copy I added
The text was updated successfully, but these errors were encountered: