[wp-trac] [WordPress Trac] #37628: Wrong file name for WP_Automatic_Updater

WordPress Trac noreply at wordpress.org
Wed Aug 10 19:24:16 UTC 2016


#37628: Wrong file name for WP_Automatic_Updater
-----------------------------+-----------------------
 Reporter:  ocean90          |       Owner:  ocean90
     Type:  defect (bug)     |      Status:  accepted
 Priority:  normal           |   Milestone:  4.6
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+-----------------------

Comment (by DrewAPicture):

 @ocean90 [attachment:37628.diff] re-copies class-wp-upgrader.php at
 [37342] to class-wp-automatic-updater.php, the contents of which I then
 replaced with the contents of class-wp-automatic-upgrader.php and then
 deleted the latter.

 The difference between this and [attachment:37628.patch] is that we
 theoretically retain many of the blame records.

 {{{
 #!bash
 $ svn cp -r 37342 https://develop.svn.wordpress.org/trunk/src/wp-
 admin/includes/class-wp-upgrader.php src/wp-admin/includes/class-wp-
 automatic-updater.php
 A         src/wp-admin/includes/class-wp-automatic-updater.php
 }}}

 Replaced -updater.php contents with current -upgrader.php code

 {{{
 #!bash
 $ svn rm src/wp-admin/includes/class-wp-automatic-upgrader.php
 D         src/wp-admin/includes/class-wp-automatic-upgrader.php
 }}}

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


More information about the wp-trac mailing list