[wp-trac] [WordPress Trac] #59269: Add support for adding metadata in bulk

WordPress Trac noreply at wordpress.org
Thu Jul 24 16:54:18 UTC 2025


#59269: Add support for adding metadata in bulk
--------------------------------------+--------------------------
 Reporter:  johnbillion               |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  6.9
Component:  Database                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by namith.jawahar):

 I used this code in two custom importers and it works great.  We do
 require bulk delete too when this is introduced as both functionality are
 often (always?) required together in real world projects.

 It might be a good idea to do insert, delete and “update”  (by insert for
 new and looped update function calls for actual updates) together instead
 of just bulk add for it to be really useful.

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


More information about the wp-trac mailing list