[wp-trac] [WordPress Trac] #32605: Add short-circuit filters to `*_metadata_by_mid()` functions

WordPress Trac noreply at wordpress.org
Fri Jul 31 19:00:47 UTC 2015

#32605: Add short-circuit filters to `*_metadata_by_mid()` functions
 Reporter:  dlh                          |       Owner:
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Options, Meta APIs           |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:

Comment (by sc0ttkclark):

 This isn't the place to seek support like that, try in the support forums
 at https://wordpress.org/support/

 To answer your question though, you don't need to use
 update_metadata_by_mid if you don't have a meta_id. In your code, you
 don't, so you would only need to use the regular update_post_meta as you
 ahd it before.

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

More information about the wp-trac mailing list