Changeset 21145
- Timestamp:
- 06/26/2012 09:07:12 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-xmlrpc-server.php
r21137 r21145 3899 3899 // in this function 3900 3900 if ( isset( $content_struct['wp_post_format'] ) ) 3901 wp_set_post_terms( $post_ID, array( 'post-format-' . $content_struct['wp_post_format'] ), 'post_format');3901 ); 3902 3902 3903 3903 $post_ID = wp_insert_post( $postdata, true ); … … 4216 4216 // earlier in this function 4217 4217 if ( isset( $content_struct['wp_post_format'] ) ) 4218 wp_set_post_terms( $post_ID, array( 'post-format-' . $content_struct['wp_post_format'] ), 'post_format');4218 ); 4219 4219 4220 4220 do_action( 'xmlrpc_call_success_mw_editPost', $post_ID, $args );
Note: See TracChangeset
for help on using the changeset viewer.