[wp-trac] [WordPress Trac] #34706: Introduce an edit_post_{$post->post_type} action

WordPress Trac noreply at wordpress.org
Mon Sep 3 21:11:41 UTC 2018


#34706: Introduce an edit_post_{$post->post_type} action
-------------------------------------------------+-------------------------
 Reporter:  garrett-eclipse                      |       Owner:
                                                 |  SergeyBiryukov
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  4.9.9
Component:  Posts, Post Types                    |     Version:  4.4
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch needs-unit-tests fixed-    |     Focuses:
  major                                          |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43617" 43617]:
 {{{
 #!CommitTicketReference repository="" revision="43617"
 Posts, Post Types: Introduce `edit_post_{$post->post_type}` hook.

 The hook fires before the general `edit_post` hook and has the same
 parameters.

 It also complements the `save_post_{$post->post_type}` hook added in
 [25050].

 Props Mte90, garrett-eclipse.
 Merges [43535] and [43616] to the 4.9 branch.
 Fixes #34706.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/34706#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list