[wp-trac] [WordPress Trac] #12939: Counterpart to content_save_pre hook not called when getting post content via API

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 5 08:50:45 UTC 2011


#12939: Counterpart to content_save_pre hook not called when getting post content
via API
--------------------------+-----------------------------
 Reporter:  redsweater    |       Owner:  josephscott
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  Future Release
Component:  XML-RPC       |     Version:  2.9.2
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+-----------------------------
Changes (by solarissmoke):

 * keywords:   => dev-feedback


Comment:

 The problem is that when done using the API, the filter that gets called
 is `post_content_save_pre` and not `content_save_pre`, and we have no
 default hooks on that filter. Is there a reason we don't have the same
 filters on `content_save_pre` as `post_content_save_pre`.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12939#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list