Make WordPress Core


Ignore:
Timestamp:
08/13/2015 03:27:57 PM (10 years ago)
Author:
wonderboymusic
Message:

After [33325], supply a missing post_type in ->mw_editPost().

Add unit test.

Props ocean90.
Fixes #20662.

File:
1 edited

Legend:

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

    r33407 r33612  
    52825282            $data = $newpost;
    52835283            $data['sticky'] = $content_struct['sticky'];
     5284            $data['post_type'] = 'post';
    52845285            $error = $this->_toggle_sticky( $data, true );
    52855286            if ( $error ) {
Note: See TracChangeset for help on using the changeset viewer.