WordPress.org

Make WordPress Core

Changeset 17860


Ignore:
Timestamp:
05/11/11 17:05:35 (4 years ago)
Author:
westi
Message:

Switch this to be inside the else to match previous functionality more closely.

File:
1 edited

Legend:

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

    r17857 r17860  
    10371037        if ( !is_array( $closed ) ) { 
    10381038            $classes = array( '' ); 
    1039         } 
    1040         $classes =  in_array( $id, $closed ) ? array( 'closed' ) : array( '' ); 
     1039        } else { 
     1040            $classes = in_array( $id, $closed ) ? array( 'closed' ) : array( '' ); 
     1041        } 
    10411042    } else { 
    10421043        $classes = array( '' ); 
Note: See TracChangeset for help on using the changeset viewer.