Changes from branches/3.1/wp-includes/post-template.php at r17685 to trunk/wp-includes/post-template.php at r18176
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r17685 r18176 530 530 } 531 531 532 if ( ! empty( $class ) ) {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(); 536 539 } 537 540 … … 1243 1246 // We have no argument passed so just see if a page_template has been specified 1244 1247 if ( empty( $template ) ) { 1245 if ( !empty($page_template ) ) {1248 if ( !empty( $page_template ) and ( 'default' != $page_template ) ) { 1246 1249 return true; 1247 1250 } … … 1349 1352 array_unshift( $revisions, $post ); 1350 1353 1351 $rows = '';1354 $rows = $right_checked = ''; 1352 1355 $class = false; 1353 1356 $can_edit_post = current_user_can( 'edit_post', $post->ID );
Note: See TracChangeset
for help on using the changeset viewer.