[wp-trac] [WordPress Trac] #20417: do_enclose() and other functions should use the WP API when dealing with metadata
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 11 16:00:45 UTC 2012
#20417: do_enclose() and other functions should use the WP API when dealing with
metadata
--------------------------+-----------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4
Component: General | Version:
Severity: normal | Keywords:
--------------------------+-----------------
do_enclose() does this:
`$wpdb->insert($wpdb->postmeta, array('post_id' => $post_ID, 'meta_key' =>
'enclosure', 'meta_value' => $meta_value) );`
And I am not sure why. Some other functions also use $wpdb to interact
with postmeta when not necessary.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20417>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list