WordPress.org

Make WordPress Core

Ticket #8827: wp-app.php.diff

File wp-app.php.diff, 688 bytes (added by josephscott, 5 years ago)
  • wp-app.php

     
    478478                // this could affect our ability to send back the right headers 
    479479                @wp_set_post_categories($postID, $post_category); 
    480480 
     481                do_action( 'atompub_create_post', $postID, $entry ); 
     482 
    481483                $output = $this->get_entry($postID); 
    482484 
    483485                log_app('function',"create_post($postID)"); 
     
    556558                        $this->internal_error(__('For some strange yet very annoying reason, this post could not be edited.')); 
    557559                } 
    558560 
     561                do_action( 'atompub_put_post', $ID, $parsed ); 
     562 
    559563                log_app('function',"put_post($postID)"); 
    560564                $this->ok(); 
    561565        }