[wp-trac] [WordPress Trac] #22945: get_page_uri() produce PHP Warning on line 3588

WordPress Trac noreply at wordpress.org
Fri Dec 14 18:27:28 UTC 2012


#22945: get_page_uri() produce PHP Warning on line 3588
-----------------------------------+--------------------------
 Reporter:  lightningspirit        |       Type:  defect (bug)
   Status:  new                    |   Priority:  normal
Milestone:  Awaiting Review        |  Component:  General
  Version:  3.5                    |   Severity:  major
 Keywords:  2nd-opinion has-patch  |
-----------------------------------+--------------------------
 When a page has no ancestors, foreach produces:

 Warning: Invalid argument supplied for foreach() in [...]/wp-
 includes/post.php on line 3588

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22945>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list