Changeset 18176
- Timestamp:
- 06/07/2011 08:55:25 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r18062 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
Note: See TracChangeset
for help on using the changeset viewer.