Ticket #4315: xmlrpc.php-dif
File xmlrpc.php-dif, 356 bytes (added by , 13 years ago) |
---|
Line | |
---|---|
1 | Index: xmlrpc.php |
2 | =================================================================== |
3 | --- xmlrpc.php (revision 5510) |
4 | +++ xmlrpc.php (working copy) |
5 | @@ -1150,7 +1150,7 @@ |
6 | $menu_order = $content_struct["wp_page_order"]; |
7 | } |
8 | |
9 | - $post_author = $user->ID; |
10 | + $post_author = $postdata["post_author"]; |
11 | |
12 | // Only set the post_author if one is set. |
13 | if( |