Changeset 5484
- Timestamp:
- 05/16/2007 05:48:31 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/wp-includes/widgets.php
r5473 r5484 76 76 $id = sanitize_title($name); 77 77 $options = array(); 78 if ( !empty($classname) )78 if ( !empty($classname) && is_string($classname) ) 79 79 $options['classname'] = $classname; 80 $params = array_slice(func_get_args(), 3);80 $params = array_slice(func_get_args(), 2); 81 81 $args = array($id, $name, $output_callback, $options); 82 82 if ( !empty($params) )
Note: See TracChangeset
for help on using the changeset viewer.