[wp-trac] [WordPress Trac] #47424: Need to add comment before function definition,

WordPress Trac noreply at wordpress.org
Thu May 30 15:29:15 UTC 2019


#47424: Need to add comment before function definition,
-----------------------------+-----------------------
 Reporter:  priyankkpatel    |       Owner:  desrosj
     Type:  defect (bug)     |      Status:  reopened
 Priority:  normal           |   Milestone:  5.3
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  docs
-----------------------------+-----------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch => needs-patch
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Replying to [comment:4 desrosj]:
 > Looks like `list_plugin_updates()` was
 [https://core.trac.wordpress.org/browser/branches/2.7/wp-admin/update-
 core.php#L15 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()`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47424#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list