mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Typo fix from ringmaster. fixes #1717
git-svn-id: http://svn.automattic.com/wordpress/trunk@2927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bb27dabb29
commit
4c607e6d67
@ -15,7 +15,7 @@ function write_post() {
|
||||
$_POST['to_ping'] = $_POST['trackback_url'];
|
||||
|
||||
if (!empty ($_POST['post_author_override'])) {
|
||||
$_POST['$post_author'] = (int) $_POST['post_author_override'];
|
||||
$_POST['post_author'] = (int) $_POST['post_author_override'];
|
||||
} else
|
||||
if (!empty ($_POST['post_author'])) {
|
||||
$_POST['post_author'] = (int) $_POST['post_author'];
|
||||
|
Loading…
Reference in New Issue
Block a user