git-svn-id: https://develop.svn.wordpress.org/trunk@2062 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2005-01-07 01:11:51 +00:00
parent f0318fb457
commit 6ca2c31abd
3 changed files with 25 additions and 26 deletions
+3 -1
View File
@@ -239,7 +239,9 @@ case 'editpost':
$prev_status = $_POST['prev_status'];
$post_status = $_POST['post_status'];
$menu_order = (int) $_POST['menu_order'];
if (! empty($_POST['post_author'])) {
if (! empty($_POST['post_author_override'])) {
$post_author = (int) $_POST['post_author_override'];
} else if (! empty($_POST['post_author'])) {
$post_author = (int) $_POST['post_author'];
} else {
$post_author = (int) $_POST['user_ID'];