Changeset 3081503
- Timestamp:
- 05/05/2024 12:28:12 PM (23 months ago)
- Location:
- ag-custom-admin/tags/7.2.5
- Files:
-
- 60 added
- 10 copied
-
. (added)
-
.gitignore (copied) (copied from ag-custom-admin/trunk/.gitignore)
-
ag-custom-admin.html (copied) (copied from ag-custom-admin/trunk/ag-custom-admin.html)
-
changelog.txt (copied) (copied from ag-custom-admin/trunk/changelog.txt)
-
codeception.yml (copied) (copied from ag-custom-admin/trunk/codeception.yml)
-
composer.json (copied) (copied from ag-custom-admin/trunk/composer.json)
-
composer.lock (copied) (copied from ag-custom-admin/trunk/composer.lock)
-
images (added)
-
images/agca-background.png (added)
-
images/agca-logo.svg (added)
-
images/cusmin-logo.svg (added)
-
images/cusminlogo.png (added)
-
images/donate-btn.png (added)
-
images/plugna-logo.svg (added)
-
languages (added)
-
languages/ag-custom-admin-fr_FR.mo (added)
-
languages/ag-custom-admin-fr_FR.po (added)
-
languages/ag-custom-admin-hr.mo (added)
-
languages/ag-custom-admin-hr_HR.po (added)
-
licence.txt (copied) (copied from ag-custom-admin/trunk/licence.txt)
-
plugin.php (copied) (copied from ag-custom-admin/trunk/plugin.php) (5 diffs)
-
readme.txt (copied) (copied from ag-custom-admin/trunk/readme.txt) (3 diffs)
-
require (added)
-
script (added)
-
script/ag_script.js (added)
-
script/agca_farbtastic.js (added)
-
style (added)
-
style/admin.min.css (added)
-
style/ag_style.css (added)
-
style/ag_style_simple.css (added)
-
style/agca_farbtastic.css (added)
-
style/login.min.css (added)
-
style/marker.png (added)
-
style/mask.png (added)
-
style/wheel.png (added)
-
tests (added)
-
tests/_bootstrap.php (added)
-
tests/_data (added)
-
tests/_data/dump.sql (added)
-
tests/_output (added)
-
tests/_output/.gitignore (added)
-
tests/_support (added)
-
tests/_support/AcceptanceTester.php (added)
-
tests/_support/FunctionalTester.php (added)
-
tests/_support/Helper (added)
-
tests/_support/Helper/Acceptance.php (added)
-
tests/_support/Helper/Functional.php (added)
-
tests/_support/Helper/Unit.php (added)
-
tests/_support/Page (added)
-
tests/_support/Page/AGCAPage.php (added)
-
tests/_support/Page/GeneralPage.php (added)
-
tests/_support/Page/WPDashboardPage.php (added)
-
tests/_support/UnitTester.php (added)
-
tests/_support/_generated (added)
-
tests/_support/_generated/AcceptanceTesterActions.php (added)
-
tests/_support/_generated/FunctionalTesterActions.php (added)
-
tests/_support/_generated/UnitTesterActions.php (added)
-
tests/acceptance (added)
-
tests/acceptance.suite.yml (added)
-
tests/acceptance/AGCAInstalledCept.php (added)
-
tests/acceptance/GeneralSettingsCest.php (added)
-
tests/acceptance/_bootstrap.php (added)
-
tests/functional (added)
-
tests/functional.suite.yml (added)
-
tests/functional/_bootstrap.php (added)
-
tests/index.php (added)
-
tests/unit (added)
-
tests/unit.suite.yml (added)
-
tests/unit/_bootstrap.php (added)
-
uninstall.php (copied) (copied from ag-custom-admin/trunk/uninstall.php)
Legend:
- Unmodified
- Added
- Removed
-
ag-custom-admin/tags/7.2.5/plugin.php
r3080480 r3081503 5 5 Description: CHANGE: admin menu, login page, admin bar, dashboard widgets, custom colors, custom CSS & JS, logo & images 6 6 Author: Cusmin 7 Version: 7.2. 47 Version: 7.2.5 8 8 Text Domain: ag-custom-admin 9 9 Domain Path: /languages … … 29 29 30 30 class AGCA{ 31 private $agca_version = "7.2. 4";31 private $agca_version = "7.2.5"; 32 32 private $colorizer = ""; 33 33 private $agca_debug = false; … … 185 185 186 186 $this->agca_register_settings(); 187 $this->agca_init_session();188 187 $isAdminUser = current_user_can($this->admin_capability()); 189 188 if(!$isAdminUser || ($isAdminUser && !get_option('agca_role_allbutadmin'))){ … … 228 227 wp_enqueue_script ( 'agca-script' ); 229 228 }, 2); 230 }231 232 function agca_init_session(){233 if (!session_id()){234 session_start([235 'read_and_close' => true,236 ]);237 }238 229 } 239 230 … … 1135 1126 } 1136 1127 1137 function agcaAdminSession(){1138 if(!isset($_SESSION["AGCA"])){1139 $_SESSION["AGCA"] = array();1140 }1141 }1142 1143 1128 function getAGCAColor($name){ 1144 1129 if(isset($this->colorizer[$name])){ -
ag-custom-admin/tags/7.2.5/readme.txt
r3080480 r3081503 5 5 Requires at least: 3.0 6 6 Tested up to: 6.5.2 7 Stable tag: 7.2. 47 Stable tag: 7.2.5 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl.txt … … 160 160 == Change Log == 161 161 162 = 7.2.5 = 163 * Removed outdated session-related code 164 162 165 = 7.2.4 = 163 166 * Fixed issue with wrong character in title by default … … 171 174 172 175 == Upgrade Notice == 176 177 = 7.2.5 = 178 * Removed outdated session-related code 173 179 174 180 = 7.2.4 =
Note: See TracChangeset
for help on using the changeset viewer.