[wp-trac] [WordPress Trac] #16080: PHP4 Compat

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 2 23:49:59 UTC 2011


#16080: PHP4 Compat
------------------------------+------------------
 Reporter:  westi             |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  high              |   Milestone:  3.1
Component:  Warnings/Notices  |     Version:  3.1
 Severity:  critical          |  Resolution:
 Keywords:  needs-patch       |
------------------------------+------------------

Comment (by nacin):

 With regards to incompatible foreach issues, a grep only finds these two.

 {{{
 wpgrep foreach.*\&
 ./wp-admin/includes/media.php:1479:foreach ( $post_params as $param => &
 $val )
 ./wp-includes/class-wp-admin-bar.php:160:               foreach( $menu as
 $id => &$menu_item ) {
 }}}

 Can probably check for parse errors across all files on a testbed for
 other things.

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


More information about the wp-trac mailing list