Changeset 33706 for trunk/src/wp-includes/query.php
- Timestamp:
- 08/22/2015 04:58:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/query.php
r33661 r33706 1426 1426 , 's' 1427 1427 , 'sentence' 1428 , 'title' 1428 1429 , 'fields' 1429 1430 , 'menu_order' … … 1545 1546 * @type array $tax_query An associative array of WP_Tax_Query arguments. 1546 1547 * {@see WP_Tax_Query->queries} 1548 * @type string $title Post title. 1547 1549 * @type bool $update_post_meta_cache Whether to update the post meta cache. Default true. 1548 1550 * @type bool $update_post_term_cache Whether to update the post term cache. Default true. … … 1578 1580 $qv['pagename'] = trim( $qv['pagename'] ); 1579 1581 $qv['name'] = trim( $qv['name'] ); 1582 $qv['title'] = trim( $qv['title'] ); 1580 1583 if ( '' !== $qv['hour'] ) $qv['hour'] = absint($qv['hour']); 1581 1584 if ( '' !== $qv['minute'] ) $qv['minute'] = absint($qv['minute']); … … 2606 2609 } 2607 2610 2611 if ( '' !== $q['title'] ) { 2612 $where .= $wpdb->prepare( " AND $wpdb->posts.post_title = %s", stripslashes( $q['title'] ) ); 2613 } 2614 2608 2615 // Parameters related to 'post_name'. 2609 2616 if ( '' != $q['name'] ) {
Note: See TracChangeset
for help on using the changeset viewer.