Make WordPress Core


Ignore:
Timestamp:
05/03/2010 08:26:11 PM (14 years ago)
Author:
ryan
Message:

Strip trailing whites.

File:
1 edited

Legend:

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

    r14402 r14404  
    17201720                    $q['name'] = $q[ $ptype_obj->query_var ];
    17211721                } else {
    1722                     // Hierarchical post_types will operate through the 
     1722                    // Hierarchical post_types will operate through the
    17231723                    $q['pagename'] = $q[ $ptype_obj->query_var ];
    17241724                    $q['name'] = '';
     
    24832483                foreach ( $stickies as $sticky_post ) {
    24842484                    // Ignore sticky posts the current user cannot read or are not published.
    2485                     if ( 'publish' != $sticky_post->post_status ) 
     2485                    if ( 'publish' != $sticky_post->post_status )
    24862486                        continue;
    24872487                    array_splice($this->posts, $sticky_offset, 0, array($sticky_post));
Note: See TracChangeset for help on using the changeset viewer.