[wp-trac] [WordPress Trac] #16176: save_{$post_type}

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 10 18:15:14 UTC 2011


#16176: save_{$post_type}
------------------------------+------------------------------
 Reporter:  bmb               |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Post Types        |     Version:  3.0.4
 Severity:  trivial           |  Resolution:
 Keywords:  custom post type  |
------------------------------+------------------------------

Comment (by Denis-de-Bernardy):

 Convenient, but I'm unsure about the suggested hook name... Plugins that
 currently rely on save_post would be seriously broken if we don't maintain
 BC; or plugins that hook into save_post with the assumption that it's
 explicitly for posts would also affect pages, attachments, etc. (not to
 mention that it would then get called twice for actual posts unless we
 check for it).

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


More information about the wp-trac mailing list