Opened 5 years ago
Closed 5 years ago
#47424 closed defect (bug) (fixed)
Need to add comment before function definition,
Reported by: | priyankkpatel | Owned by: | desrosj |
---|---|---|---|
Milestone: | 5.3 | Priority: | normal |
Severity: | normal | Version: | 2.9 |
Component: | Upgrade/Install | Keywords: | has-patch commit |
Focuses: | docs | Cc: |
Description
Function 'list_plugin_updates' is defined without adding comment above it in wp-admin/update-core.php.
Attachments (5)
Change History (15)
#1
@
5 years ago
- Component changed from Comments to Upgrade/Install
- Focuses docs added
- Milestone changed from Awaiting Review to 5.3
#2
@
5 years ago
@priyankkpatel list_plugin_updates function is introduce in WordPress version 2.9.0
#4
follow-ups:
↓ 6
↓ 8
@
5 years ago
- Owner set to desrosj
- Status changed from new to reviewing
- Type changed from enhancement to defect (bug)
Looks like list_plugin_updates()
was actually included in 2.7 in changeset [9543].
Thanks for this, @priyankkpatel!
#6
in reply to:
↑ 4
@
5 years ago
- Keywords needs-patch added; has-patch removed
- Resolution fixed deleted
- Status changed from closed to reopened
Replying to desrosj:
Looks like
list_plugin_updates()
was actually included in 2.7 in changeset [9543].
[9543] did not introduce any new functions, it moved list_core_update()
and some related functions from wp-admin/update.php
to wp-admin/update-core.php
.
list_plugin_updates()
and list_theme_updates()
were both added in [12066] for #10973, that's 2.9.
While we're at it, let's add missing descriptions for other functions in that file:
dismissed_updates()
list_theme_updates()
list_translation_updates()
do_dismiss_core_update()
do_undismiss_core_update()
#7
@
5 years ago
@SergeyBiryukov I've updated the descriptions for the other functions in that file. Is it good to go now?
#8
in reply to:
↑ 4
@
5 years ago
Replying to desrosj:
Looks like
list_plugin_updates()
was actually included in 2.7 in changeset [9543].
Thanks for this, @priyankkpatel!
You are welcome.
#9
@
5 years ago
- Keywords has-patch commit added; needs-patch removed
- Version changed from trunk to 2.9
Thanks @ajayghaghretiya1!
47424.4.diff has some minor updates to those descriptions and includes the @since
tag fix that @SergeyBiryukov mentioned above.
Patch for wp-admin/update-core.php