Opened 9 years ago
Closed 9 years ago
#37415 closed defect (bug) (fixed)
We need to check is_array( $wp_meta_keys ) in get_registered_meta_keys().
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.6 | Priority: | normal |
| Severity: | normal | Version: | 4.6 |
| Component: | Options, Meta APIs | Keywords: | has-patch |
| Focuses: | Cc: |
Description
We need to check that global $wp_meta_keys is actual an array or not. We missed that in get_registered_meta_keys() function.
We need to make sure that the $wp_meta_keys is array, then only proceed and also if not is an array then must return return array().
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Related #37403, #35658.