Changeset 22584 for trunk/wp-includes/class-wp-xmlrpc-server.php
- Timestamp:
- 11/14/2012 10:58:24 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-xmlrpc-server.php
r22560 r22584 1214 1214 $post_data = apply_filters( 'xmlrpc_wp_insert_post_data', $post_data, $content_struct ); 1215 1215 1216 $post_ID = wp_insert_post( $post_data, true );1216 $post_ID = $update ? wp_update_post( $post_data, true ) : wp_insert_post( $post_data, true ); 1217 1217 if ( is_wp_error( $post_ID ) ) 1218 1218 return new IXR_Error( 500, $post_ID->get_error_message() );
Note: See TracChangeset
for help on using the changeset viewer.