Changeset 19869
- Timestamp:
- 02/08/2012 04:04:58 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-xmlrpc-server.php
r19868 r19869 684 684 // We know this is supposed to be GMT, so we're going to slap that Z on there by force 685 685 $dateCreated = str_replace( 'Z', '', $post_data['post_date_gmt']->getIso() ) . 'Z'; 686 } elseif ( ! empty( $post_data['post_date'] ) ) {686 } elseif ( ! empty( $post_data['post_date'] ) ) { 687 687 $dateCreated = $post_data['post_date']->getIso(); 688 688 } … … 787 787 788 788 $terms[$taxonomy][] = (int) $term_info['term_id']; 789 } 790 else { 789 } else { 791 790 $terms[$taxonomy][] = (int) $term->term_id; 792 791 } … … 798 797 unset( $post_data['terms'] ); 799 798 unset( $post_data['terms_names'] ); 800 } 801 else { 799 } else { 802 800 // do not allow direct submission of 'tax_input', clients must use 'terms' and/or 'terms_names' 803 801 unset( $post_data['tax_input'] );
Note: See TracChangeset
for help on using the changeset viewer.