[wp-trac] [WordPress Trac] #28728: null post object bug back in 4.0-alpha-20140702

WordPress Trac noreply at wordpress.org
Thu Aug 21 00:25:55 UTC 2014


#28728: null post object bug back in 4.0-alpha-20140702
-------------------------------+------------------------------
 Reporter:  lilaeamedia        |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Query              |     Version:  1.5
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => reporter-feedback
 * version:  trunk => 1.5


Comment:

 Thanks for the report lilaeamedia.

 The offending `is_page()` function has been this way since r1728 about a
 decade ago.

 Can you provide some code to reproduce the issue please? If you attempt to
 call `is_front_page()` before the posts selection you should see a message
 stating '''is_front_page was called incorrectly'''.

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


More information about the wp-trac mailing list