Opened 6 years ago
Closed 6 years ago
#47710 closed enhancement (fixed)
Hook "do_mu_upgrade" docblock in wrong line
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.3 | Priority: | normal |
Severity: | normal | Version: | 5.3 |
Component: | Administration | Keywords: | has-patch |
Focuses: | multisite, coding-standards | Cc: |
Description
Currently the hook do_mu_upgrade
in wp-admin/admin.php L70 has a dockblock which is inside the if
-statement and therefor not that easy to parse out for automatic documentation. Also this statement could be improved by adding some early return to the first if
- which is already there as exit
.
Patch contains:
- Replaced {{elseif}} by {{if}}
- Moved {{apply_filters}} above the {{if}} to have documentation at the correct position
Attachments (2)
Change History (4)
#1
in reply to:
↑ description
@
6 years ago
- Component changed from Formatting to Administration
- Focuses multisite coding-standards added
- Milestone changed from Awaiting Review to 5.3
Note: See
TracTickets for help on using
tickets.
In 45643: