Changeset 29206 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 07/17/2014 09:13:53 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r28969 r29206 303 303 if ( $image_alt != get_post_meta( $post_ID, '_wp_attachment_image_alt', true ) ) { 304 304 $image_alt = wp_strip_all_tags( $image_alt, true ); 305 // update_meta expects slashed 305 // update_meta expects slashed. 306 306 update_post_meta( $post_ID, '_wp_attachment_image_alt', wp_slash( $image_alt ) ); 307 307 } … … 741 741 742 742 if ( ('0' === $metavalue || ! empty ( $metavalue ) ) && ( ( ( '#NONE#' != $metakeyselect ) && !empty ( $metakeyselect) ) || !empty ( $metakeyinput ) ) ) { 743 // We have a key/value pair. If both the select and the 744 // input for the key have data, the input takes precedence: 745 743 /* 744 * We have a key/value pair. If both the select and the input 745 * for the key have data, the input takes precedence. 746 */ 746 747 if ( '#NONE#' != $metakeyselect ) 747 748 $metakey = $metakeyselect;
Note: See TracChangeset
for help on using the changeset viewer.