Make WordPress Core


Ignore:
Timestamp:
03/26/2010 07:36:49 PM (15 years ago)
Author:
nacin
Message:

Remove trailing whites and double semicolons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/query.php

    r13787 r13830  
    17161716            $q[ $q['post_type'] ] = str_replace('%2F', '/', urlencode(urldecode($q[ $q['post_type'] ])));
    17171717            $post_type_object = get_post_type_object($q['post_type']);
    1718             if ( ! $post_type_object->hierarchical || strpos($q[ $q['post_type'] ], '/') === false) { 
     1718            if ( ! $post_type_object->hierarchical || strpos($q[ $q['post_type'] ], '/') === false) {
    17191719                $q['name'] = $q[ $q['post_type'] ] = sanitize_title($q[ $q['post_type'] ]);
    1720                 $where .= " AND $wpdb->posts.post_name = '" . $q[ $q['post_type'] ] . "'";         
     1720                $where .= " AND $wpdb->posts.post_name = '" . $q[ $q['post_type'] ] . "'";
    17211721            } else {
    17221722                // Hierarchical post type, need to look deeper to see if its an attachment or this post_type
Note: See TracChangeset for help on using the changeset viewer.