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

WordPress Trac noreply at wordpress.org
Fri Jun 5 08:28:57 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
--------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"47913" 47913]:
 {{{
 #!CommitTicketReference repository="" revision="47913"
 Docs: Update the DocBlock for the `wp_media_attach_action` hook per the
 documentation standards.

 Rename the `$att_id` variable to `$attachment_id` for clarity.

 Follow-up to [47909].

 See #49614.
 }}}

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


More information about the wp-trac mailing list