WordPress.org

Make WordPress Core

Ticket #12955: 12955.2.diff

File 12955.2.diff, 397 bytes (added by Mte90, 6 years ago)

patch refreshed

  • wp-includes/post-functions.php

     
    447447                return null;
    448448
    449449        $_post = $_post->filter( $filter );
     450       
     451        $_post = apply_filters( 'get_post', $_post );
    450452
    451453        if ( $output == ARRAY_A )
    452454                return $_post->to_array();