[wp-trac] [WordPress Trac] #26235: Add action when _fix_attachment_links fires

WordPress Trac noreply at wordpress.org
Wed Oct 7 02:04:32 UTC 2015


#26235: Add action when _fix_attachment_links fires
----------------------------+----------------------
 Reporter:  dllh            |       Owner:
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:  3.7
 Severity:  normal          |  Resolution:  wontfix
 Keywords:  has-patch       |     Focuses:
----------------------------+----------------------
Changes (by chriscct7):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 If you're worried about attachments in publish_post you can just check the
 post type of the post being passed in. An attachment is of the attachment
 post type.

 Further, you can also use the did_action function.

 This doesn't seem like something that more than a handful of people would
 use.

 Closing as wontfix

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


More information about the wp-trac mailing list