Opened 8 years ago
Closed 8 years ago
#37415 closed defect (bug) (fixed)
We need to check is_array( $wp_meta_keys ) in get_registered_meta_keys().
Reported by: | vishalkakadiya | Owned by: | jeremyfelt |
---|---|---|---|
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.