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

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 25 12:42:36 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):

 Hey all, I attached the update_metadata_by_mid function patch, ran a few
 tests on post, user and comment, seems to work as expected although I'm
 not sure I've done the right thing by using the update_metadata after
 fetching the meta data by id, and maybe I should have utilized the
 get_metadata_by_mid function instead of the SQL query. What do you think?

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


More information about the wp-trac mailing list