Is Two Factor Compatible with PHP 8.3?
This plugin has critical incompatibilities with PHP 8.3.
PHP Version Requirements
7.2
8.0
Mismatch with declared minimum
PHP 8.3
Compatibility Issues (30)
Plugin Header
two-factor.php:62
class-two-factor-core.php:183
class-two-factor-core.php:492
class-two-factor-core.php:1104
class-two-factor-core.php:1130
class-two-factor-core.php:2087
class-two-factor-core.php:2095
class-two-factor-core.php:2139
class-two-factor-core.php:2251
class-two-factor-core.php:2259
class-two-factor-core.php:2261
class-two-factor-core.php:2292
class-two-factor-core.php:2316
providers/class-two-factor-backup-codes.php:75
providers/class-two-factor-backup-codes.php:482
providers/class-two-factor-email.php:375
providers/class-two-factor-email.php:460
providers/class-two-factor-totp.php:95
providers/class-two-factor-totp.php:602
providers/class-two-factor-totp.php:620
providers/class-two-factor-totp.php:626
providers/class-two-factor-totp.php:732
providers/class-two-factor-totp.php:792
providers/class-two-factor-totp.php:861
providers/class-two-factor-totp.php:900
class-two-factor-core.php:1043
class-two-factor-core.php:2591
class-two-factor-totp.php:620
two-factor.php:18
PHP Version Distribution
According to WordPress.org statistics, over 72% of WordPress sites run PHP 8.0 or higher. Ensuring compatibility with modern PHP versions is important for security, performance, and access to the latest language features.