[wp-trac] [WordPress Trac] #18195: Introduce *_metadata_by_mid()

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 26 12:09:16 UTC 2011


#18195: Introduce *_metadata_by_mid()
--------------------------+--------------------
 Reporter:  ryan          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.3
Component:  General       |     Version:  3.2.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by kovshenin):

 Here's another go at update_metadata_by_mid, since the update_metadata
 does not implement meta key updates I used an SQL statement instead that
 can update both the meta value and the key if present in the arguments
 list as suggested by @ryan. Figuring out the test cases for this now...
 Let me know your thoughts. Thanks!

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18195#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list