WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21790, comment 9


Ignore:
Timestamp:
09/05/12 10:29:46 (3 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21790, comment 9

    initial v1  
    44The notices are coming from `get_queried_object()`, where `$this->post` is not filled yet: [[BR]] 
    55http://core.trac.wordpress.org/browser/tags/3.4.1/wp-includes/query.php#L2986 
     6 
     7So `$page_obj` in `is_page()` ends up being null: [[BR]] 
     8http://core.trac.wordpress.org/browser/tags/3.4.1/wp-includes/query.php#L3345