Make WordPress Core

Ticket #56068: 56068.diff

File 56068.diff, 540 bytes (added by SergeyBiryukov, 2 years ago)
  • src/wp-includes/class-wp.php

     
    769769
    770770                $parsed = $this->parse_request( $query_args );
    771771
    772                 $this->send_headers();
    773 
    774772                if ( $parsed ) {
    775773                        $this->query_posts();
    776774                        $this->handle_404();
     
    777775                        $this->register_globals();
    778776                }
    779777
     778                $this->send_headers();
     779
    780780                /**
    781781                 * Fires once the WordPress environment has been set up.
    782782                 *