- save a page
- change to view-mode
- use your browser's back-button
The plugins memberpages, page_params and register, maybe some more, use #CMSimple hide# to hide pages when you are not in edit-mode. But if you do the above your are able to fool them: Then CMSimple is not in edit-mode (!$edit && $adm) any longer, and you save the content in the wrong way again.
I think this issue can be solved by setting $edit to true before the plugins are loaded, when the page is going to be saved. In cms.php - ca. l. 170:
- Code: Select all
// Plugin loading
//add this line
if($function == 'save'){$edit = true;}
//before
if ($cf['plugins']['folder'] != "")include($pth['folder']['plugins'].'index.php');
Please test it and report, if your content has been overwritten with "#CMSimple hide#" in any other way!
Martin
