WordPress.org

Make WordPress Core

Ticket #24162: 24162.diff

File 24162.diff, 372 bytes (added by wonderboymusic, 2 years ago)
  • wp-includes/post-formats.php

    diff --git wp-includes/post-formats.php wp-includes/post-formats.php
    index f513210..2896652 100644
    function get_post_format_meta( $post_id = 0 ) { 
    120120                $values[$key] = empty( $value ) ? '' : $value; 
    121121        } 
    122122 
    123         return $values; 
     123        return apply_filters( 'post_format_meta', $values ); 
    124124} 
    125125 
    126126/**