WordPress.org

Make WordPress Core

Changeset 17211


Ignore:
Timestamp:
01/03/11 19:19:34 (3 years ago)
Author:
ryan
Message:

PHP4 compat. Props SergeyBiryukov, westi. see #16080

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r17141 r17211  
    14771477$post_params = apply_filters( 'swfupload_post_params', $post_params ); 
    14781478$p = array(); 
    1479 foreach ( $post_params as $param => & $val ) 
     1479foreach ( $post_params as $param => $val ) 
    14801480    $p[] = "\t\t'$param' : '$val'"; 
    14811481$post_params_str = implode( ", \n", $p ); 
  • trunk/wp-includes/class-wp-admin-bar.php

    r17184 r17211  
    158158 
    159159    function add_node( $parent_id, &$menu, $child ) { 
    160         foreach( $menu as $id => &$menu_item ) { 
     160        foreach( $menu as $id => $menu_item ) { 
    161161            if ( $parent_id == $id ) { 
    162162                $menu->{$parent_id}['children']->{$child['id']} = $child; 
Note: See TracChangeset for help on using the changeset viewer.