Changeset 3081754
- Timestamp:
- 05/06/2024 08:05:09 AM (23 months ago)
- Location:
- ag-custom-admin/trunk
- Files:
-
- 2 edited
-
plugin.php (modified) (5 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ag-custom-admin/trunk/plugin.php
r3080480 r3081754 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/trunk/readme.txt
r3080480 r3081754 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.