[wp-trac] [WordPress Trac] #23148: Add hook in wp_ajax_save_attachment for additional attachment fields

WordPress Trac noreply at wordpress.org
Thu Feb 23 23:14:11 UTC 2023


#23148: Add hook in wp_ajax_save_attachment for additional attachment fields
-----------------------------------+-----------------------
 Reporter:  griffinjt              |       Owner:  audrasjb
     Type:  enhancement            |      Status:  reopened
 Priority:  normal                 |   Milestone:  6.2
Component:  Media                  |     Version:  3.5
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+-----------------------
Changes (by azaozz):

 * keywords:  has-patch needs-dev-note commit => has-patch 2nd-opinion
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Replying to [comment:25 antpb]:
 > There doesn't seem to be any reason _not_ to add this.

 I actually think there are at least couple of reasons :)
 - This duplicates all the `save_post` hooks.
 - The ticket has had no traction for 10 years. This means nobody has any
 interest this action probably because there are several other hooks that
 can be used and most people are familiar with.

 Imho this should be removed as the new action seems useless, and the
 ticket closed with "wontfix".

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


More information about the wp-trac mailing list