[wp-trac] [WordPress Trac] #14160: PHP 4.4+ and PHP 5.0.5 fails on return/pass by reference

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 24 22:36:27 UTC 2010


#14160: PHP 4.4+ and PHP 5.0.5 fails on return/pass by reference
------------------------------+---------------------------------------------
 Reporter:  nacin             |        Owner:          
     Type:  defect (bug)      |       Status:  reopened
 Priority:  normal            |    Milestone:  3.0.1   
Component:  Warnings/Notices  |      Version:          
 Severity:  major             |   Resolution:          
 Keywords:                    |  
------------------------------+---------------------------------------------

Comment(by nacin):

 Found two more:
 {{{
 ./wp-admin/includes/nav-menu.php:327:
 echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', array(
 get_post( get_the_ID() ) ) ), 0, (object) $args );
 ./wp-includes/query.php:2741:                   $this->queried_object = &
 get_page(get_option('page_for_posts'));
 }}}
 Interestingly, while the latter just came up in the Earthlink thread,
 http://wordpress.org/support/topic/411708, it's actually four years and
 five days old -- [4023].

 I'm going to get access to an install on PHP 5.0.5 to confirm whether
 #13757 also breaks anything.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14160#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list