Opened 10 years ago
Last modified 5 years ago
#39593 new defect (bug)
Improve DocBlocks in class-automatic-upgrader-skin.php
| Reported by: | carl-alberto | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Upgrade/Install | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
Description
Missing DocBlock Description and wrong @param formatting in:
wp-admin/includes/class-automatic-upgrader-skin.php
public function feedback( $data )
Attachments (5)
Change History (19)
#1
@
10 years ago
- Keywords needs-refresh added
- Summary Improve DocBlock for function feedback($data) in class-automatic-upgrader-skin.php → Improve DocBlocks in class-automatic-upgrader-skin.php
#2
@
10 years ago
- Keywords has-patch added
Hi Soean,
Thanks for the advice. sent another diff file to include the DocBlock improvement of:
$messages
get_upgrade_messages()
header()
footer()
Thanks!
#5
@
10 years ago
- Keywords needs-refresh added
Needs a refresh to include 39606.patch:ticket:39606.
#7
@
10 years ago
The other WP_Upgrader_Skin classes also have incomplete DocBlocks:
WP_Upgrader_SkinBulk_Plugin_Upgrader_SkinBulk_Theme_Upgrader_SkinBulk_Upgrader_SkinLanguage_Pack_Upgrader_SkinPlugin_Installer_SkinPlugin_Upgrader_SkinTheme_Installer_SkinTheme_Upgrader_Skin
#8
follow-up:
↓ 9
@
10 years ago
Hi @Soean,
Do we tackle all the patches thru this ticket or separate tickets per file that don't have proper DocBlocks?
Thanks!
#9
in reply to: ↑ 8
@
10 years ago
Replying to carl-alberto:
Do we tackle all the patches thru this ticket or separate tickets per file that don't have proper DocBlocks?
Let's create a separate ticket per file.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hey Carl,
thanks for the patch. As I looked into the
Automatic_Upgrader_Skinclass, I saw that the$messagesproperty as well as the methodsget_upgrade_messages(),header()andfooter()need doc improvements, too. They should also handled by this ticket.