Ticket #8827: wp-app-post-hooks.diff
| File wp-app-post-hooks.diff, 673 bytes (added by znarfor, 4 years ago) |
|---|
-
wp-app.php
475 475 // this could affect our ability to send back the right headers 476 476 @wp_set_post_categories($postID, $post_category); 477 477 478 do_action('app_create_post', $postID, $entry); 479 478 480 $output = $this->get_entry($postID); 479 481 480 482 log_app('function',"create_post($postID)"); … … 549 551 550 552 $result = wp_update_post($postdata); 551 553 554 do_action('app_put_post', $ID, $parsed); 555 552 556 if (!$result) { 553 557 $this->internal_error(__('For some strange yet very annoying reason, this post could not be edited.')); 554 558 }
