WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/15/2010 06:38:10 AM (10 years ago)
Author:
nacin
Message:

Properly check, initialize, or cast a number of variables. props ChenHui. see #14642.

File:
1 edited

Legend:

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

    r16365 r16377  
    42334233            $extra_headers[$key] = $key;
    42344234        }
    4235         $all_headers = array_merge($extra_headers, $default_headers);
     4235        $all_headers = array_merge( $extra_headers, (array) $default_headers );
    42364236    } else {
    42374237        $all_headers = $default_headers;
Note: See TracChangeset for help on using the changeset viewer.