Updated the project for PHP 7.4+ compatibility.

This commit is contained in:
2026-05-31 12:54:12 +03:30
parent a8a5065553
commit 2703e956da
5 changed files with 23 additions and 18 deletions
+3 -3
View File
@@ -3,8 +3,8 @@
/**
* Plugin Name: Mahak Authenticate Bridge
* Description: Authenticate WordPress user via json web token from Mahakiha Application.
* Version: 1.0
* Requires PHP: 8.0
* Version: 2.0
* Requires PHP: 7.4
* Author: Dabestaniha
*
* Example: https://wordpress.test/mahak/login/?token=eyJ0...
@@ -29,4 +29,4 @@ add_action('init', fn() => AuthenticateController::resolve());
add_action('admin_menu', fn() => SettingsPageMenuController::resolve());
add_action('admin_init', fn() => SettingsPageFormController::resolve());
echo true;
echo true;