mysql2date() might use uninitialized variables
|Reported by:||mgeisler||Owned by:||ryan|
The mysql2date() function in wp-includes/functions.php uses $month, $weekday, $month_abbrev, and $weekday_abbrev as global variables.
They are initialized in locale.php, but this file is loaded after a call to do_action('plugins_loaded'). If I understand the source correctly, then a plugin which attaches itself to the plugins_loaded action and which calls mysql2date() will fail.