WordPress.org

Make WordPress Core

Changeset 8539


Ignore:
Timestamp:
08/04/08 20:35:02 (7 years ago)
Author:
ryan
Message:

Cast to array to avoid warning. Props santosj. fixes #7222 for 2.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/wp-includes/widgets.php

    r8342 r8539  
    5858    ); 
    5959 
    60     $sidebar = array_merge($defaults, $args); 
     60    $sidebar = array_merge($defaults, (array) $args); 
    6161 
    6262    $wp_registered_sidebars[$sidebar['id']] = $sidebar; 
Note: See TracChangeset for help on using the changeset viewer.