Changeset 20158
- Timestamp:
- 03/08/2012 01:16:26 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/class-wp-xmlrpc-server.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-xmlrpc-server.php
r20157 r20158 1793 1793 return(new IXR_Error(500, __('Failed to delete the page.'))); 1794 1794 1795 do_action( 'xmlrpc_call_success_wp_deletePage', $page_id, $args ); 1796 1795 1797 return(true); 1796 1798 } … … 3192 3194 $this->attach_uploads( $post_ID, $post_content ); 3193 3195 3196 do_action( 'xmlrpc_call_success_blogger_newPost', $post_ID, $args ); 3197 3194 3198 return $post_ID; 3195 3199 } … … 3246 3250 $this->attach_uploads( $ID, $post_content ); 3247 3251 3252 do_action( 'xmlrpc_call_success_blogger_editPost', $post_ID, $args ); 3253 3248 3254 return true; 3249 3255 } … … 3282 3288 if ( !$result ) 3283 3289 return new IXR_Error(500, __('For some strange yet very annoying reason, this post could not be deleted.')); 3290 3291 do_action( 'xmlrpc_call_success_blogger_deletePost', $post_ID, $args ); 3284 3292 3285 3293 return true; … … 3577 3585 return new IXR_Error(500, __('Sorry, your entry could not be posted. Something wrong happened.')); 3578 3586 3587 do_action( 'xmlrpc_call_success_mw_newPost', $post_ID, $args ); 3588 3579 3589 return strval($post_ID); 3580 3590 } … … 3867 3877 if ( isset( $content_struct['wp_post_format'] ) ) 3868 3878 wp_set_post_terms( $post_ID, array( 'post-format-' . $content_struct['wp_post_format'] ), 'post_format' ); 3879 3880 do_action( 'xmlrpc_call_success_mw_editPost', $post_ID, $args ); 3869 3881 3870 3882 return true;
Note: See TracChangeset
for help on using the changeset viewer.