Make WordPress Core

Changeset 28854

Timestamp:
06/26/2014 05:42:17 PM (10 years ago)
Author:
SergeyBiryukov
Message:

XML-RPC: Make sure wp.newPost does not produce a fatal error when a post_date field is included in the data.

props dllh.
fixes #28601.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r28849 r28854  
    11031103            return $this->error;
    11041104
     1105
     1106
     1107
     1108
     1109
     1110
     1111
     1112
     1113
     1114
     1115
     1116
     1117
     1118
     1119
    11051120        /** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
    11061121        do_action( 'xmlrpc_call', 'wp.newPost' );
  • trunk/tests/phpunit/tests/xmlrpc/wp/newPost.php

    r25002 r28854  
    306306    }
    307307
     308
     309
     310
     311
     312
     313
     314
     315
     316
     317
     318
     319
     320
     321
     322
     323
     324
     325
     326
     327
     328
     329
     330
     331
    308332}
Note: See TracChangeset for help on using the changeset viewer.