Plugin Directory

Changeset 3132702


Ignore:
Timestamp:
08/08/2024 12:25:29 PM (8 months ago)
Author:
hivesupport
Message:

1.0.6

  • Added admin notice for pro version compatibility information
Location:
hive-support
Files:
488 added
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified hive-support/trunk/hive-support.php

    r3131354 r3132702  
    11<?php
    2 
    32/**
    43 * Plugin Name:       Hive Support
    54 * Plugin URI:        https://gethivesupport.com/features
    65 * Description:       One stop support solution for WordPress.
    7  * Version:           1.0.5
     6 * Version:           1.0.6
    87 * Author:            Hive Support
    98 * Author URI:        https://gethivesupport.com
     
    1817}
    1918
    20 define('HIVE_LITE_SUPPORT_VERSION', '1.0.5');
     19define('HIVE_LITE_SUPPORT_VERSION', '1.0.6');
    2120define('HIVE_LITE_SUPPORT_VERSION_TYPE', 'LITE');
    2221defined('HIVE_LITE_SUPPORT_PATH') or define('HIVE_LITE_SUPPORT_PATH', plugin_dir_path(__FILE__));
     
    3837    require __DIR__ . '/appsero/src/Client.php';
    3938}
     39
     40if( hive_is_pro() && ( defined('HIVE_SUPPORT_VERSION') && HIVE_SUPPORT_VERSION < '1.1.0'  )  ) {
     41
     42    function hs_admin_notice_pro_version_compatibility() {
     43        $class = 'notice notice-error';
     44        $message = __( 'Please use Hive Support PRO version 1.1.0 or higher.', 'hive-support' );
     45       
     46        printf( '<div class="%1$s"><p style="font-size: 16px;">%2$s</p></div>', esc_attr( $class ), esc_html( $message ) );
     47    }
     48    add_action( 'admin_notices', 'hs_admin_notice_pro_version_compatibility' );
     49
     50
     51    return;
     52}
     53
    4054
    4155/**
  • TabularUnified hive-support/trunk/readme.txt

    r3131377 r3132702  
    66Requires at least: 6.5
    77Tested up to: 6.6.1
    8 Stable tag: 1.0.5
     8Stable tag: 1.0.6
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    263263
    264264== Changelog ==
     265= 1.0.6 =
     266- Added admin notice for pro version compatibility information
    265267
    266268= 1.0.5 =
Note: See TracChangeset for help on using the changeset viewer.