Make WordPress Core

Opened 13 months ago

Closed 13 months ago

Last modified 13 months ago

#64008 closed task (blessed) (fixed)

Update Sodium Compat to 1.21.2 for better PHP 8.5 support

Reported by: paragoninitiativeenterprises Owned by: SergeyBiryukov
Priority: normal Milestone: 6.9
Component: External Libraries Version:
Severity: normal Keywords: needs-patch php85
Cc: Focuses: php-compatibility

Description

Version 1.21.2 is mostly to prevent deprecation warnings on PHP 8.5. These should never be encountered in practice (as the only file in scope was a SplFixedArray polyfill for PHP 5.2, which should never be executed on PHP 8.5), but for completeness the poylfill was updated.

Previously, #61686

Change History (5)

#1 @johnbillion
13 months ago

  • Keywords needs-patch added
  • Milestone Awaiting Review → 6.9
  • Type defect (bug) → task (blessed)

#2 @TobiasBg
13 months ago

See #63962 for the ticket handling this deprecation in WP Core.

#3 @johnbillion
13 months ago

  • Keywords php85 added

#4 @SergeyBiryukov
13 months ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 60787:

Upgrade/Install: Update sodium_compat to v1.21.2.

Version 1.21.2 is mostly to prevent deprecation warnings on PHP 8.5. These should never be encountered in practice (as the only file in scope was an SplFixedArray polyfill for PHP 5.2, which should never be executed on PHP 8.5), but for completeness the polyfill was updated.

References:

Follow-up to [55699], [58752], [58753].

Props paragoninitiativeenterprises, jrf, johnbillion, TobiasBg, SergeyBiryukov.
Fixes #64008.

#5 @SergeyBiryukov
13 months ago

In 60795:

Coding Standards: Add specific sniff exclusions for serialize functions in sodium_compat.

These are necessary for a passing PHP Compatibility scan.

Follow-up to [47735], [60787].

See #64008.

Note: See TracTickets for help on using tickets.