Make WordPress Core


Ignore:
Timestamp:
06/14/2007 02:25:30 AM (19 years ago)
Author:
ryan
Message:

Trim empty lines. Nothing but newline.

File:
1 edited

Legend:

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

    r5660 r5700  
    462462
    463463        $qv['attachment_id'] = (int) $qv['attachment_id'];
    464        
     464
    465465        if ( ('' != $qv['attachment']) || !empty($qv['attachment_id']) ) {
    466466            $this->is_single = true;
     
    10221022            if ( is_admin() )
    10231023                $where .= " OR post_status = 'future' OR post_status = 'draft'";
    1024            
     1024
    10251025            if ( is_user_logged_in() ) {
    10261026                $where .= current_user_can( "read_private_{$post_type}s" ) ? " OR post_status = 'private'" : " OR post_author = $user_ID AND post_status = 'private'";
Note: See TracChangeset for help on using the changeset viewer.