[wp-trac] [WordPress Trac] #59712: `WP_Ugrader` doesn't check source and destination variable types, is missing a string.

WordPress Trac noreply at wordpress.org
Tue Oct 24 01:55:57 UTC 2023


#59712: `WP_Ugrader` doesn't check source and destination variable types, is
missing a string.
-----------------------------+--------------------
 Reporter:  peterwilsoncc    |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  6.5
Component:  Upgrade/Install  |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+--------------------
 As discovered by @costdev, @jipmoors and @karlijnbok while working on
 #54245 the `WP_Ugrader` class:

 * fails to accurately check the source and destination directories are
 valid strings
 * is missing the `no_package` string: `Package not available.`

 These fixes were initially included in [https://github.com/WordPress
 /wordpress-develop/pull/3044 PR #3044] but went uncommitted as the tests
 were committed during the release candidate phase of the release cycle.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59712>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list