Opened 6 years ago
Closed 6 years ago
#48570 closed defect (bug) (fixed)
incorrect return type for check_parent_theme_filter
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.4 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Upgrade/Install | Keywords: | has-patch |
| Focuses: | docs | Cc: |
Description
In wp-admin/includes/class-theme-upgrader.php the return type for method check_parent_theme_filter is incorrectly set to type. Presumably this is a result of an IDE's docblock template not being filled-out fully when documenting the function leaving the placeholder type.
The attached patch sets the return type to bool to match the type of $install_result.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Patch to set the return type to bool