Skip to content

Commit d5a6ce0

Browse files
committed
Docs.
1 parent 9c51d32 commit d5a6ce0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/wp-admin/includes/class-wp-site-health.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -941,6 +941,7 @@ public function get_test_php_extensions() {
941941
'function' => 'mysqli_connect',
942942
'required' => false,
943943
),
944+
// Sodium was introduced in PHP 7.2, but the extension may not be enabled.
944945
'libsodium' => array(
945946
'constant' => 'SODIUM_LIBRARY_VERSION',
946947
'required' => false,

src/wp-includes/compat.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ function _mb_strlen( $str, $encoding = null ) {
273273
return --$count;
274274
}
275275

276-
// sodium_crypto_box() was introduced in PHP 7.2.
276+
// sodium_crypto_box() was introduced with Sodium in PHP 7.2, but the extension may not be enabled.
277277
if ( ! function_exists( 'sodium_crypto_box' ) ) {
278278
require ABSPATH . WPINC . '/sodium_compat/autoload.php';
279279
}

0 commit comments

Comments
 (0)