Make WordPress Core

Changeset 19869


Ignore:
Timestamp:
02/08/2012 04:04:58 PM (13 years ago)
Author:
ryan
Message:

Formatting cleanup. see #18429

File:
1 edited

Legend:

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

    r19868 r19869  
    684684            // We know this is supposed to be GMT, so we're going to slap that Z on there by force
    685685            $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'] ) ) {
    687687            $dateCreated = $post_data['post_date']->getIso();
    688688        }
     
    787787
    788788                            $terms[$taxonomy][] = (int) $term_info['term_id'];
    789                         }
    790                         else {
     789                        } else {
    791790                            $terms[$taxonomy][] = (int) $term->term_id;
    792791                        }
     
    798797            unset( $post_data['terms'] );
    799798            unset( $post_data['terms_names'] );
    800         }
    801         else {
     799        } else {
    802800            // do not allow direct submission of 'tax_input', clients must use 'terms' and/or 'terms_names'
    803801            unset( $post_data['tax_input'] );
Note: See TracChangeset for help on using the changeset viewer.