Opened 6 years ago
Closed 6 years ago
#48096 closed defect (bug) (fixed)
Fixed docblock in `cache_add` method in `WP_Theme` class
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.3 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Themes | Keywords: | has-patch |
| Focuses: | docs | Cc: |
Description
$data @param type of $data in cache_add method in WP_Theme class because in several instances array is being passed as $data
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Hey @itowhid06, thank you for the patch!
If you have looked to see that sometimes array is passed to this did you consider if it would be more useful to use
string|arrayinstead ofmixed?