mirror of
git://develop.git.wordpress.org/
synced 2025-02-25 09:03:09 +01:00
wp_xmlrpc_server::mw_newPost()
, if $dateCreated
is not set, don't set post_date
and post_date_gmt
. It calls wp_insert_post()
, which will handle it correctly. The problem was drafts being created and GMT date being set. It shouldn't be.
Adds unit test. Fixes #16985. git-svn-id: https://develop.svn.wordpress.org/trunk@34572 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.5%
CSS
8.9%
JavaScript
8.1%
SCSS
0.8%
HTML
0.7%