Skip to content

Commit

Permalink
Declare the admin variable for 8.2 deprecated issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ramvital committed Sep 6, 2023
1 parent f5e4ce3 commit 0103b31
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cher.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php
/*
* Plugin Name: Cher
* Version: 2.0
* Version: 2.1
* Plugin URI: https://github.com/VitalDevTeam/cher/
* Description: Easy management of social profiles and social share links for developers.
* Author: Vital
* Author URI: https://vtldesign.com
* Text Domain: cher
* Requires at least: 4.0
* Tested up to: 4.7.1
* Tested up to: 6.3.1
*/

if ( ! defined( 'ABSPATH' ) ) exit;
Expand Down
8 changes: 8 additions & 0 deletions includes/class-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ class Cher_Plugin_Template {
*/
public $script_suffix;

/**
* Load API for generic admin
* @var string
* @access public
* @since 1.0.0
*/
public $admin;

/**
* Constructor function.
* @access public
Expand Down

0 comments on commit 0103b31

Please sign in to comment.