wp-includes/sodium_compat/src/Core/Base64/UrlSafe.php:193$encodedStringstringstring public static function decodeNoPadding( #[SensitiveParameter] $encodedString ) { $srcLen = strlen($encodedString); if ($srcLen === 0) { return ''; } if (($srcLen & 3) === 0) { // If $strLen is not zero, and it is divisible by 4, then it's at least 4. if ($encodedString[$srcLen - 1] === '=' || $encodedString[$srcLen - 2] === '=') { throw new InvalidArgumentException( "decodeNoPadding() doesn't tolerate padding" ); } } return self::decode( $encodedString, true ); }Unchanged from 6.9.7 through 7.1.0.
Signature, return type and hooks compared across 3 parsed releases.
src/wp-includes/sodium_compat/src/Core/Base64/UrlSafe.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.