Make WordPress Core

Ticket #52732: 52732-1.patch

File 52732-1.patch, 424 bytes (added by ttodua, 3 years ago)
  • post.php

     
    21562156        $parsed_args['no_found_rows']       = true;
    21572157
    21582158        $get_posts = new WP_Query;
    2159         return $get_posts->query( $parsed_args );
    2160 
     2159        $posts = $get_posts->query( $parsed_args );
     2160        $posts = apply_filters( 'get_posts', $posts, $args );
     2161        return $posts;
     2162       
    21612163}
    21622164
    21632165//