QE: fix notices and check if the returned string contains the row HTML, props DD32, fixes #8115

git-svn-id: https://develop.svn.wordpress.org/trunk@9712 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2008-11-15 12:04:38 +00:00
parent abd0d8d127
commit 70914a2ca0
5 changed files with 23 additions and 18 deletions
+4 -2
View File
@@ -880,10 +880,12 @@ case 'inline-save':
// rename
$data['user_ID'] = $GLOBALS['user_ID'];
$data['parent_id'] = $data['post_parent'];
if ( isset($data['post_parent']) )
$data['parent_id'] = $data['post_parent'];
// status
if ( 'private' == $data['keep_private'] )
if ( isset($data['keep_private']) && 'private' == $data['keep_private'] )
$data['post_status'] = 'private';
else
$data['post_status'] = $data['_status'];