WordPress.org

Make WordPress Core

Changeset 8538


Ignore:
Timestamp:
08/04/08 20:34:45 (6 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/widgets.php

    r8341 r8538  
    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.