[wp-trac] [WordPress Trac] #3440: A skosh of attachment data abstraction

WordPress Trac noreply at wordpress.org
Mon Feb 12 05:21:08 UTC 2024


#3440: A skosh of attachment data abstraction
----------------------------+---------------------
 Reporter:  mdawaffe        |       Owner:  (none)
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  2.1
Component:  Administration  |     Version:  2.1
 Severity:  normal          |  Resolution:  fixed
 Keywords:                  |     Focuses:
----------------------------+---------------------

Comment (by slabinskyqzyfl5):

 Are you suggesting adding a slight abstraction layer for attachment data
 handling? Instead of directly querying post_meta for
 _wp_attachment_metadata and _wp_attached_file multiple times, this
 approach would involve creating abstracts and filters for getting and
 putting attachment data.

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


More information about the wp-trac mailing list