Opened 5 years ago
Closed 5 years ago
#54163 closed defect (bug) (fixed)
The file `/wp-admin/includes/class-wp-upgrader.php` has a grammar mistake on Line 652
| Reported by: | zenithcity | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.9 |
| Component: | Upgrade/Install | Version: | |
| Severity: | minor | Keywords: | good-first-bug has-patch |
| Cc: | Focuses: | docs |
Description
A word was misused in the file /wp-admin/includes/class-wp-upgrader.php on line 652. The word 'form' was used instead of 'from' in the doc block comments.
@type bool $clear_working Whether to delete the files form the working directory after copying to the destination. Default false.
Attachments (1)
Change History (6)
#2
@
5 years ago
- Component General → Upgrade/Install
- Keywords needs-patch good-first-bug added; typos removed
- Version 5.8.1
Hi there!
Thanks for the ticket.
The trunk shows line 467 so please create patch according to it.
If you're doing a first-time contribution then check these links in order to create a valid patch in Trac.
https://make.wordpress.org/core/handbook/tutorials/working-with-patches/ https://make.wordpress.org/core/handbook/best-practices/writing-patches/
If you're familiar with code and git, you can use the wordpress-develop Github repository to easily contribute to WordPress: https://make.wordpress.org/core/handbook/contribute/git/
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
@zenithcity thanx for finding that (and welcome back to Trac).
Do you feel comfortable creating a patch to correct it?