2012-03-09, 04:42:22
I've tried removing (or commenting out) this in admin/changedata.php (GS 3.1):
Line 64:
and above, lines 39 to 41:
Then, you get no error with pages with no title, and they are saved, but with slug temp, temp-1, temp-2 ...
For me this is acceptable (BTW it seems this may be how GS worked in some very old version), though maybe I'd change that default slug 'temp' to 'page'.
Line 64:
Code:
}
and above, lines 39 to 41:
Code:
if ( $_POST['post-title'] == '' ) {
redirect("edit.php?upd=edit-err&type=".urlencode(i18n_r('CANNOT_SAVE_EMPTY')));
} else {
Then, you get no error with pages with no title, and they are saved, but with slug temp, temp-1, temp-2 ...
For me this is acceptable (BTW it seems this may be how GS worked in some very old version), though maybe I'd change that default slug 'temp' to 'page'.