[wp-trac] [WordPress Trac] #21874: Remove unused functions in wp-admin/includes/update.php

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 12 10:22:53 UTC 2012


#21874: Remove unused functions in wp-admin/includes/update.php
-----------------------------+------------------------------
 Reporter:  solarissmoke     |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  2.8
 Severity:  minor            |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------
Changes (by SergeyBiryukov):

 * version:  trunk => 2.8
 * component:  General => Upgrade/Install


Comment:

 Unused since [11005].

 `wp_update_plugin()` is used in at least one plugin (outdated though):
 [[BR]]
 http://plugins.trac.wordpress.org/browser/ajax-plugin-helper/tags/1.0.5
 /ajax-plugin-helper.php#L294
 And was mentioned on the forums at least once: [[BR]]
 http://wordpress.org/support/topic/programmatically-update-wordpress

 Perhaps it's safer to deprecate them.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21874#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list