WordPress.org

Make WordPress Core

Ticket #24011: 24011.7.diff

File 24011.7.diff, 402 bytes (added by kovshenin, 12 months ago)
  • wp-includes/post-formats.php

     
    992992                return $data; 
    993993 
    994994        $post_id = ( isset( $postarr['ID'] ) ) ? absint( $postarr['ID'] ) : 0; 
     995        $post_format = ''; 
    995996 
    996997        if ( $post_id ) 
    997998                $post_format = get_post_format( $post_id );