Plugin Directory

Changeset 3081754


Ignore:
Timestamp:
05/06/2024 08:05:09 AM (23 months ago)
Author:
cusmin
Message:

7.2.5 - removed outdated session code

Location:
ag-custom-admin/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ag-custom-admin/trunk/plugin.php

    r3080480 r3081754  
    55Description: CHANGE: admin menu, login page, admin bar, dashboard widgets, custom colors, custom CSS & JS, logo & images
    66Author: Cusmin
    7 Version: 7.2.4
     7Version: 7.2.5
    88Text Domain: ag-custom-admin
    99Domain Path: /languages
     
    2929
    3030class AGCA{
    31     private $agca_version = "7.2.4";
     31    private $agca_version = "7.2.5";
    3232    private $colorizer = "";
    3333    private $agca_debug = false;
     
    185185
    186186        $this->agca_register_settings();
    187         $this->agca_init_session();
    188187        $isAdminUser = current_user_can($this->admin_capability());
    189188        if(!$isAdminUser || ($isAdminUser && !get_option('agca_role_allbutadmin'))){
     
    228227            wp_enqueue_script ( 'agca-script' );
    229228        }, 2);
    230     }
    231 
    232     function agca_init_session(){
    233         if (!session_id()){
    234             session_start([
    235                 'read_and_close' => true,
    236             ]);
    237         }
    238229    }
    239230
     
    11351126    }
    11361127
    1137     function agcaAdminSession(){
    1138         if(!isset($_SESSION["AGCA"])){
    1139             $_SESSION["AGCA"] = array();
    1140         }
    1141     }
    1142 
    11431128    function getAGCAColor($name){
    11441129        if(isset($this->colorizer[$name])){
  • ag-custom-admin/trunk/readme.txt

    r3080480 r3081754  
    55Requires at least: 3.0
    66Tested up to: 6.5.2
    7 Stable tag: 7.2.4
     7Stable tag: 7.2.5
    88License: GPLv3 or later
    99License URI: https://www.gnu.org/licenses/gpl.txt
     
    160160== Change Log ==
    161161
     162= 7.2.5 =
     163* Removed outdated session-related code
     164
    162165= 7.2.4 =
    163166* Fixed issue with wrong character in title by default
     
    171174
    172175== Upgrade Notice ==
     176
     177= 7.2.5 =
     178* Removed outdated session-related code
    173179
    174180= 7.2.4 =
Note: See TracChangeset for help on using the changeset viewer.