Make WordPress Core


Ignore:
Timestamp:
03/17/2010 04:27:25 PM (16 years ago)
Author:
ryan
Message:

Trim trailing whitespace

File:
1 edited

Legend:

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

    r13717 r13733  
    29312931        $number = (int) $number;
    29322932        $offset = (int) $offset;
    2933        
     2933
    29342934        // Make sure the post type is hierarchical
    29352935        $hierarchical_post_types = get_post_types( array( 'hierarchical' => true ) );
    29362936        if ( !in_array( $post_type, $hierarchical_post_types ) )
    29372937                return false;
    2938        
     2938
    29392939        // Make sure we have a valid post status
    29402940        if ( !in_array($post_status, get_post_stati()) )
     
    30323032        if ( $parent >= 0 )
    30333033                $where .= $wpdb->prepare(' AND post_parent = %d ', $parent);
    3034                
     3034
    30353035        $where_post_type = $wpdb->prepare( "post_type = '%s' AND post_status = '%s'", $post_type, $post_status );
    30363036
     
    31793179                else
    31803180                        $post_category = array();
    3181         }       
     3181        }
    31823182
    31833183        // Are we updating or creating?
     
    38153815        if ( $lastpostmodified )
    38163816                return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone );
    3817        
     3817
    38183818        switch ( strtolower($timezone) ) {
    38193819                case 'gmt':
     
    38273827                        break;
    38283828        }
    3829        
     3829
    38303830        $lastpostdate = get_lastpostdate($timezone);
    38313831        if ( $lastpostdate > $lastpostmodified )
    38323832                $lastpostmodified = $lastpostdate;
    38333833
    3834         if ( $lastpostmodified ) 
    3835                 wp_cache_set( "lastpostmodified:$timezone", $lastpostmodified, 'timeinfo' ); 
     3834        if ( $lastpostmodified )
     3835                wp_cache_set( "lastpostmodified:$timezone", $lastpostmodified, 'timeinfo' );
    38363836
    38373837        return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone );
Note: See TracChangeset for help on using the changeset viewer.