[wp-trac] [WordPress Trac] #26775: Fatal error in wp_reset_postdata()

WordPress Trac noreply at wordpress.org
Sun Jan 5 14:18:59 UTC 2014


#26775: Fatal error in wp_reset_postdata()
----------------------------------------+------------------
 Reporter:  SergeyBiryukov              |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  3.9
Component:  Query                       |     Version:  3.7
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+------------------

Comment (by SergeyBiryukov):

 [attachment:26775.patch] uses a basic `isset()` check, like the ones we
 already have for template tags:
 [source:tags/3.8/src/wp-includes/query.php#L139]

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26775#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list