Changes from trunk/wp-includes/post-template.php at r18176 to branches/3.1/wp-includes/post-template.php at r17685
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/wp-includes/post-template.php
r18176 r17685 530 530 } 531 531 532 if ( ! 532 if ( !empty( $class ) ) { 533 533 if ( !is_array( $class ) ) 534 534 $class = preg_split( '#\s+#', $class ); 535 535 $classes = array_merge( $classes, $class ); 536 } else {537 // Ensure that we always coerce class to being an array.538 $class = array();539 536 } 540 537 … … 1246 1243 // We have no argument passed so just see if a page_template has been specified 1247 1244 if ( empty( $template ) ) { 1248 if ( !empty( $page_template ) and ( 'default' !=$page_template ) ) {1245 if (!empty( $page_template ) ) { 1249 1246 return true; 1250 1247 } … … 1352 1349 array_unshift( $revisions, $post ); 1353 1350 1354 $rows = $right_checked ='';1351 $rows = ''; 1355 1352 $class = false; 1356 1353 $can_edit_post = current_user_can( 'edit_post', $post->ID );
Note: See TracChangeset
for help on using the changeset viewer.