Ticket #24303: 24303.diff
File 24303.diff, 692 bytes (added by , 12 years ago) |
---|
-
wp-includes/post-formats.php
979 979 } 980 980 981 981 /** 982 * Runs during save_post, fixes empty titles for asides and statuses.982 * Fixes empty titles for aside and status formats 983 983 * 984 * Passes a generated post title to the 'wp_insert_post_data' filter. 985 * 984 986 * @since 3.6.0 985 987 * @access private 988 * 989 * @uses _post_formats_generate_title() 986 990 */ 987 991 function _post_formats_fix_empty_title( $data, $postarr ) { 988 992 if ( 'auto-draft' == $data['post_status'] || ! post_type_supports( $data['post_type'], 'post-formats' ) )