[wp-trac] [WordPress Trac] #22704: Automatic Core Updates

WordPress Trac noreply at wordpress.org
Mon Sep 30 12:06:03 UTC 2013


#22704: Automatic Core Updates
-----------------------------+-----------------------
 Reporter:  pento            |       Owner:  pento
     Type:  task (blessed)   |      Status:  assigned
 Priority:  normal           |   Milestone:  3.7
Component:  Upgrade/Install  |     Version:  3.5
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+-----------------------

Comment (by GaryJ):

 [attachment:22704_r25650] is a small refactor of r25650, reducing
 duplicate code (multiple file_exists() calls) by moving the VCS directory
 names into an array which is then looped through. Also updates the
 function short description to indicate that more than just Git and SVN are
 now checked.

 May want that `'/'` added via a `trailingslashit()` call instead of an
 appended string.

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


More information about the wp-trac mailing list