Ticket #24011: 24011.6.diff
File 24011.6.diff, 538 bytes (added by , 8 years ago) |
---|
-
wp-includes/post-formats.php
diff --git wp-includes/post-formats.php wp-includes/post-formats.php index d7ddaa9..360f7f2 100644
function _post_formats_fix_empty_title( $data, $postarr ) { 999 999 if ( isset( $postarr['post_format'] ) ) 1000 1000 $post_format = ( in_array( $postarr['post_format'], get_post_format_slugs() ) ) ? $postarr['post_format'] : ''; 1001 1001 1002 if ( empty( $post_format ) ) 1003 return $data; 1004 1002 1005 if ( ! in_array( $post_format, array( 'aside', 'status' ) ) ) 1003 1006 return $data; 1004 1007