Opened 7 years ago
Closed 7 years ago
#48096 closed defect (bug) (fixed)
Fixed docblock in `cache_add` method in `WP_Theme` class
| Reported by: | itowhid06 | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.3 |
| Component: | Themes | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
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?