[wp-trac] [WordPress Trac] #49614: Add an action for wp_media_attach_action events

WordPress Trac noreply at wordpress.org
Thu Jun 4 14:59:13 UTC 2020


#49614: Add an action for wp_media_attach_action events
--------------------------------------+-----------------------------
 Reporter:  jonoaldersonwp            |       Owner:  whyisjake
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.5
Component:  Media                     |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:  administration
--------------------------------------+-----------------------------
Changes (by whyisjake):

 * owner:  (none) => whyisjake
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47909" 47909]:
 {{{
 #!CommitTicketReference repository="" revision="47909"
 Media: Add an action for `wp_media_attach_action`.

 This action fires when media is attached/detached from a post.

 Fixes: #49614.
 Props: jonoaldersonwp, antpb, rebasaurus, donmhico.
 }}}

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


More information about the wp-trac mailing list