[wp-trac] [WordPress Trac] #64225: Test tool and unit test improvements for 7.0

WordPress Trac noreply at wordpress.org
Fri Mar 13 22:11:20 UTC 2026


#64225: Test tool and unit test improvements for 7.0
--------------------------------------+---------------------
 Reporter:  desrosj                   |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  7.0
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by desrosj):

 In [changeset:"62022" 62022]:
 {{{
 #!CommitTicketReference repository="" revision="62022"
 Build/Test Tools: Fix installation tests for PHP <= 7.3.

 In MySQL 8.0, the default authentication plugin changed from
 `mysql_native_password` to `caching_sha2_password`, which is not available
 in PHP 7.3 and earlier. The installation testing workflow currently
 accounts for this, but only for PHP 7.2 & 7.3.

 It also does not account for a change in MySQL 8.4 which changed the
 related flag for controlling this from `--default-authentication-plugin`
 to `--authentication-policy`.

 This adjusts the flags and surrounding conditions to ensure the correct
 ones are passed for the right combinations.

 Props johnbillion.
 See #64225, #64227.
 }}}

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


More information about the wp-trac mailing list