#55450 closed defect (bug) (fixed)
WP_Upgrader::run docblock incorrect
Reported by: | paulkevan | Owned by: | davidbaumwald |
---|---|---|---|
Milestone: | 6.0 | Priority: | normal |
Severity: | normal | Version: | 2.8 |
Component: | Upgrade/Install | Keywords: | has-patch |
Focuses: | docs | Cc: |
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.
2 years ago
#1
- Keywords has-patch added
#2
@
2 years ago
- Milestone changed from Awaiting Review to 6.0
- Owner set to davidbaumwald
- Status changed from new to reviewing
dream-encode commented on PR #2452:
2 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.
Fixes the difference between docblock and the code, and also reorders for consistency.
Trac ticket: https://core.trac.wordpress.org/ticket/55450