Opened 10 years ago
Closed 10 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.6 |
| Component: | Options, Meta APIs | Version: | 4.6 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Related #37403, #35658.