WordPress.org

Make WordPress Core

Changeset 10750


Ignore:
Timestamp:
03/09/09 22:17:56 (5 years ago)
Author:
westi
Message:

Add hooks to allow plugins to extend AtomPub support. Fixes #8827 props znarfor and josephscott.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-app.php

    r10727 r10750  
    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 
     
    556558            $this->internal_error(__('For some strange yet very annoying reason, this post could not be edited.')); 
    557559        } 
     560 
     561        do_action( 'atompub_put_post', $ID, $parsed ); 
    558562 
    559563        log_app('function',"put_post($postID)"); 
Note: See TracChangeset for help on using the changeset viewer.