Changeset 6026 for trunk/wp-admin/includes/post.php
- Timestamp:
- 09/03/2007 11:32:58 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r5967 r6026 335 335 336 336 if ( ('0' === $metavalue || !empty ( $metavalue ) ) && ((('#NONE#' != $metakeyselect) && !empty ( $metakeyselect) ) || !empty ( $metakeyinput) ) ) { 337 // We have a key/value pair. If both the select and the 337 // We have a key/value pair. If both the select and the 338 338 // input for the key have data, the input takes precedence: 339 339 … … 348 348 349 349 $result = $wpdb->query( " 350 INSERT INTO $wpdb->postmeta 351 (post_id,meta_key,meta_value ) 350 INSERT INTO $wpdb->postmeta 351 (post_id,meta_key,meta_value ) 352 352 VALUES ('$post_ID','$metakey','$metavalue' ) 353 353 " );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)