[wp-trac] [WordPress Trac] #18195: Introduce *_metadata_by_mid()
WordPress Trac
wp-trac at lists.automattic.com
Tue Jul 26 15:50:54 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 ryan):
Looking good. Some suggestions: Use $wpdb->update() instead of
$wpdb->query( $wpdb->prepare() ). Clear the cache after update. See the
wp_cache_delete()/clean_user_cache() code in update_metadata().
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18195#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list