Changeset 20000 for trunk/wp-includes/class-wp-xmlrpc-server.php
- Timestamp:
- 02/27/2012 07:46:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-xmlrpc-server.php
r19935 r20000 638 638 639 639 $update = false; 640 if ( ! empty( $post_data[ 'ID' ] ) ) 641 $update = true; 640 if ( ! empty( $post_data[ 'ID' ] ) ) 641 $update = true; 642 642 643 643 if ( $update ) { … … 698 698 if ( ! empty( $post_data['post_date_gmt'] ) ) { 699 699 // We know this is supposed to be GMT, so we're going to slap that Z on there by force 700 $dateCreated = str_replace( 'Z', '', $post_data['post_date_gmt']->getIso() ) . 'Z'; 700 $dateCreated = str_replace( 'Z', '', $post_data['post_date_gmt']->getIso() ) . 'Z'; 701 701 } elseif ( ! empty( $post_data['post_date'] ) ) { 702 702 $dateCreated = $post_data['post_date']->getIso(); … … 3202 3202 3203 3203 if ( ! empty( $content_struct['wp_page_template'] ) && 'page' == $post_type ) 3204 $page_template = $content_struct['wp_page_template']; 3204 $page_template = $content_struct['wp_page_template']; 3205 3205 3206 3206 $post_author = $postdata['post_author'];
Note: See TracChangeset
for help on using the changeset viewer.