![]() |
||||||||
![]() |
![]() |
|||||||
|
||||||||
![]() |
![]() |
|||||||
"deleting a page" is editing it to nothing, changing it doesn't make sense, and is probably quite difficult to implement in a meaningful way. Conceivably you could reject an edit of an empty trimmed string, but what about an edit to a "." or similar. Note, the attic holds the old revision of the page making restoration a snip.
So I ask my question again: Where do I put the check if the posted text is empty and the user has delete rights? Is it possible to put that in a plugin? Or do I have to edit act_permcheck in actions.php directly?
Gabriel