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

WordPress Trac noreply at wordpress.org
Sun Jul 13 18:49: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 johnbillion):

 Functions with multiple signatures is poor design, it creates ambiguity
 and type safety issues. It also makes it difficult to determine whether a
 function is going to behave properly without resorting to checking the
 version of WordPress is in use. With the new functions there is no
 ambiguity and developers can use `function_exists( 'bulk_add_post_meta' )`
 to easily check that the function exists prior to using it.

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


More information about the wp-trac mailing list