Opened 9 years ago
Closed 3 years ago
#41560 closed enhancement (invalid)
WP_Filesystem_FTPext class documentation updates
| Reported by: | upadalavipul | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Filesystem API | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | docs |
Description
the function in parameter $time and $atime is define but documentation in Not define
Attachments (2)
Change History (6)
#2
@
9 years ago
- Summary needs documents improvement → WP_Filesystem_FTPext class documentation updates
#3
@
9 years ago
- Component General → Filesystem API
- Keywords needs-patch added
- Type defect (bug) → enhancement
We have #41057 to update the entire codebase according to our PHP coding standards.
Cleaning up a single file without any tests or anything is quite dangerous. I'd leave that to this ticket and only focus on inline documentation here (like the title suggests). Otherwise it's really hard to review such an enormous patch.
@upadalavipul Note that in your patch the indentation is wrong (spaces vs. tabs) and there's no parameter description.
Please consult the PHP documentation standards: https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/php/
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Attached a patch with the entire class cleaned up and phpdoc fixed; bigger guns:) https://youtu.be/yycyKndEWcA?t=52s