Summery Summery
The equivalent to the libsodium minor version we aim to be compatible with (sans pwhash and memzero).
Syntax Syntax
Return Return
(int)
Source Source
File: wp-includes/sodium_compat/src/Compat.php
public static function library_version_major() { if (self::useNewSodiumAPI()) { return sodium_library_version_major(); } if (self::use_fallback('library_version_major')) { return (int) call_user_func('\\Sodium\\library_version_major'); } return self::LIBRARY_VERSION_MAJOR; }