[wp-trac] [WordPress Trac] #31355: Custom hierarchical post type 404s when `get_queried_object` is called too early

WordPress Trac noreply at wordpress.org
Tue Feb 17 03:36:14 UTC 2015


#31355: Custom hierarchical post type 404s when `get_queried_object` is called too
early
--------------------------+------------------------------
 Reporter:  gradyetc      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by gradyetc):

 Patch also includes a few checks in the `is_*` methods that prevent PHP
 Notices that were throwing Exceptions during test runs.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31355#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list