[wp-trac] [WordPress Trac] #56189: Updater tries to access File(/.svn) and /.git /.gh /.bzr

WordPress Trac noreply at wordpress.org
Mon Jul 11 14:41:28 UTC 2022


#56189: Updater tries to access File(/.svn) and /.git /.gh /.bzr
-----------------------------+------------------------------
 Reporter:  Robin Labadie    |       Owner:  (none)
     Type:  defect (bug)     |      Status:  reopened
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  3.7
 Severity:  minor            |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------
Changes (by hellofromTonya):

 * keywords:  needs-patch needs-testing =>
 * version:  6.0 => 3.7
 * milestone:   => Awaiting Review


Comment:

 Updating the version to 3.7, as this code was introduced then by #22704
 and changesets:

 * [25700] introduced this code.
 * [25764] added the `@` error suppression to `is_dir()` to
 [https://core.trac.wordpress.org/ticket/22704#comment:103 address the same
 issue] being reported here in this ticket.

 Also updating the ticket's status and keywords. Will leave to the
 Component maintainers to review `Awaiting Review` and whether to consider
 or reclose.

 >I'm unsure why WordPress would want to access these directories.

 See #22704 for full discussions and context for why this was added into
 Core.

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


More information about the wp-trac mailing list