WordPress.org

Make WordPress Core

Ticket #21394: is-page-bail-on-null.diff

File is-page-bail-on-null.diff, 343 bytes (added by wonderboymusic, 6 years ago)
  • wp-includes/query.php

     
    33783378                        return true;
    33793379
    33803380                $page_obj = $this->get_queried_object();
     3381                if ( empty( $page_obj ) )
     3382                        return false;
    33813383
    33823384                $page = (array) $page;
    33833385