Changeset 23468
- Timestamp:
- 02/21/2013 11:02:00 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-formats.php
r23466 r23468 292 292 return $content; 293 293 294 if ( current_theme_supports( ' post-formats', $format ) )294 if ( current_theme_supports( 'structured-post-formats', $format ) ) 295 295 return $content; 296 296 … … 413 413 414 414 if ( ! empty( $content ) && $show_content && 'before' !== $compat['position'] ) 415 $output .= $content . PHP_EOL . PHP_EOL;415 $output .= $content . "\n\n"; 416 416 417 417 if ( ! empty( $compat['tag'] ) ) 418 418 $output .= sprintf( '<%s class="%s">', tag_escape( $compat['tag'] ), esc_attr( $compat['class'] ) ); 419 419 420 $output .= $format_output;420 $output .= "\n\n" . $format_output; 421 421 422 422 if ( ! empty( $compat['tag'] ) ) … … 424 424 425 425 if ( ! empty( $content ) && $show_content && 'before' === $compat['position'] ) 426 $output .= PHP_EOL . PHP_EOL. $content;426 $output .= "\n\n" . $content; 427 427 428 428 return $output;
Note: See TracChangeset
for help on using the changeset viewer.