mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
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:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user