#55450 closed defect (bug) (fixed)
WP_Upgrader::run docblock incorrect
| Reported by: | paulkevan | Owned by: | davidbaumwald |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0 |
| Component: | Upgrade/Install | Version: | 2.8 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
Description
The docblock description for the run function inaccurately has the default value for clear_working as false, whereas the default is true.
The ordering of the array values should also be updated to be consistent with the docblock, similar to the install_package function.
Change History (7)
This ticket was mentioned in PR #2452 on WordPress/wordpress-develop by pkevan.
4 years ago
#1
- Keywords has-patch added
dream-encode commented on PR #2452:
4 years ago
#5
Thanks for the PR! This was merged in https://core.trac.wordpress.org/changeset/52986.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fixes the difference between docblock and the code, and also reorders for consistency.
Trac ticket: https://core.trac.wordpress.org/ticket/55450