| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * groups.php |
| 4 | 4 | * |
| 5 | - * Copyright (c) 2011-2016 "kento" Karim Rahimpur www.itthinx.com | |
| 5 | + * Copyright (c) 2011-2026 "kento" Karim Rahimpur www.itthinx.com | |
| 6 | 6 | * |
| 7 | 7 | * This code is released under the GNU General Public License. |
| 8 | 8 | * See COPYRIGHT.txt and LICENSE.txt. |
| 9 | 9 | * |
| @@ -18,20 +18,26 @@ | ||
| 18 | 18 | * @package groups |
| 19 | 19 | * @since groups 1.0.0 |
| 20 | 20 | * |
| 21 | 21 | * Plugin Name: Groups |
| 22 | - * Plugin URI: http://www.itthinx.com/plugins/groups | |
| 22 | + * Plugin URI: https://www.itthinx.com/plugins/groups | |
| 23 | 23 | * Description: Groups provides group-based user membership management, group-based capabilities and content access control. |
| 24 | - * Version: 1.11.0 | |
| 24 | + * Version: 4.7.1 | |
| 25 | + * Requires at least: 6.7 | |
| 26 | + * Requires PHP: 7.4 | |
| 27 | + * WC requires at least: 10.0 | |
| 28 | + * WC tested up to: 11.1 | |
| 25 | 29 | * Author: itthinx |
| 26 | - * Author URI: http://www.itthinx.com | |
| 27 | - * Donate-Link: http://www.itthinx.com | |
| 30 | + * Author URI: https://www.itthinx.com | |
| 31 | + * Donate-Link: https://www.itthinx.com/shop/ | |
| 32 | + * Text Domain: groups | |
| 33 | + * Domain Path: /languages | |
| 28 | 34 | * License: GPLv3 |
| 29 | 35 | */ |
| 30 | 36 | if ( !defined( 'ABSPATH' ) ) { |
| 31 | 37 | exit; |
| 32 | 38 | } |
| 33 | -define( 'GROUPS_CORE_VERSION', '1.11.0' ); | |
| 39 | +define( 'GROUPS_CORE_VERSION', '4.7.1' ); | |
| 34 | 40 | define( 'GROUPS_FILE', __FILE__ ); |
| 35 | 41 | if ( !defined( 'GROUPS_CORE_DIR' ) ) { |
| 36 | 42 | define( 'GROUPS_CORE_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) ); |
| 37 | 43 | } |
| @@ -52,9 +58,18 @@ | ||
| 52 | 58 | } |
| 53 | 59 | if ( !defined( 'GROUPS_WP_LIB' ) ) { |
| 54 | 60 | define( 'GROUPS_WP_LIB', GROUPS_CORE_DIR . '/lib/wp' ); |
| 55 | 61 | } |
| 62 | +if ( !defined( 'GROUPS_EXTRA_LIB' ) ) { | |
| 63 | + define( 'GROUPS_EXTRA_LIB', GROUPS_CORE_DIR . '/lib/extra' ); | |
| 64 | +} | |
| 65 | +if ( !defined( 'GROUPS_BLOCKS_LIB' ) ) { | |
| 66 | + define( 'GROUPS_BLOCKS_LIB', GROUPS_CORE_DIR . '/lib/blocks' ); | |
| 67 | +} | |
| 68 | +if ( !defined( 'GROUPS_LEGACY_LIB' ) ) { | |
| 69 | + define( 'GROUPS_LEGACY_LIB', GROUPS_CORE_DIR . '/legacy' ); | |
| 70 | +} | |
| 56 | 71 | if ( !defined( 'GROUPS_CORE_URL' ) ) { |
| 57 | - define( '_GROUPS_CORE_URL', plugins_url( 'groups' ) ); | |
| 72 | + define( 'GROUPS_CORE_URL', plugins_url( 'groups' ) ); | |
| 58 | 73 | } |
| 59 | -require_once( GROUPS_CORE_LIB . '/constants.php' ); | |
| 60 | -require_once( GROUPS_CORE_LIB . '/wp-init.php'); | |
| 74 | +require_once GROUPS_CORE_LIB . '/constants.php'; | |
| 75 | +require_once GROUPS_CORE_LIB . '/wp-init.php'; | |