We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45347a3 commit cfe985eCopy full SHA for cfe985e
tests/phpunit/unit/includes/ScriptHash.php
@@ -41,6 +41,7 @@ trait ScriptHash {
41
*/
42
public function generate_script_hash( string $script ): ?string {
43
$sha384 = hash( 'sha384', $script, true );
44
+
45
$hash = str_replace(
46
[ '+', '/', '=' ],
47
[ '-', '_', '.' ],
0 commit comments