[wp-trac] [WordPress Trac] #34848: Add support for updating post meta in bulk

WordPress Trac noreply at wordpress.org
Sun Dec 3 20:14:29 UTC 2017


#34848: Add support for updating post meta in bulk
-------------------------------------------------+-------------------------
 Reporter:  patrickgarman                        |       Owner:  chriscct7
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
Component:  Options, Meta APIs                   |  Release
 Severity:  normal                               |     Version:
 Keywords:  has-patch has-unit-tests needs-      |  Resolution:
  testing                                        |     Focuses:
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by bradparbs):

 Discussing this with @peterwilsoncc right now. Right now, there's a few
 missing filters that exist in the native `add_meta_data`-related
 functions. `add_{$meta_type}_metadata` is a good example, we need to
 support being able to not upsert specific values in the bulk array.

 Peter also made a good point re: naming.`metadatas` is a really easy typo
 off `metadata` that might cause some confusion to a user.

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


More information about the wp-trac mailing list