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

WordPress Trac noreply at wordpress.org
Sat Aug 17 17:16:14 UTC 2013


#16176: save_{$post_type}
---------------------------------+-----------------------
 Reporter:  bmb                  |       Owner:  westi
     Type:  enhancement          |      Status:  assigned
 Priority:  low                  |   Milestone:  3.7
Component:  Post Types           |     Version:  3.0.4
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.7-early  |
---------------------------------+-----------------------

Comment (by nacin):

 It would be nice to pass $post as the first argument, but I understand why
 it shouldn't — so as to remain consistent with the existing save_post
 hook.

 I think the docs could be simplified to `'save_post_{post_type}'` just so
 it looks less crufty.

 Is there a rhyme or reason (as determined elsewhere in core) to have this
 filter specifically before or after save_post? The only other situation I
 can think of is admin_head-$hook_suffix firing before admin_head. Other
 than looking into that, I'm +1 commit.

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


More information about the wp-trac mailing list