Opened 8 years ago
Closed 7 years ago
#1406 closed defect (bug) (fixed)
mysql2date() might use uninitialized variables
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 1.5.1.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
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.
Change History (2)
Note: See
TracTickets for help on using
tickets.
