Changeset 33734 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 08/25/2015 08:27:56 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r33542 r33734 372 372 $fields = array( 'post_title', 'post_content', 'post_excerpt' ); 373 373 374 foreach ( $fields as $field ) {374 foreach ( $fields as $field ) { 375 375 if ( isset( $post_data[ $field ] ) ) { 376 376 $post_data[ $field ] = $wpdb->strip_invalid_text_for_column( $wpdb->posts, $field, $post_data[ $field ] ); … … 1124 1124 } 1125 1125 1126 foreach ( array_keys( $post_mime_types ) as $type ) {1126 foreach ( array_keys( $post_mime_types ) as $type ) { 1127 1127 if ( isset( $q['attachment-filter'] ) && "post_mime_type:$type" == $q['attachment-filter'] ) { 1128 1128 $q['post_mime_type'] = $type;
Note: See TracChangeset
for help on using the changeset viewer.