PluginProbe
Groups – Memberships and Access Control / 4.7.1
Groups – Memberships and Access Control v4.7.1
4.7.1 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 trunk 1.0.0-beta-1 1.0.0-beta-2 1.0.0-beta-3 1.0.0-beta-3b 1.0.0-beta-3c 1.0.0-beta-3d 1.1.4 1.1.5 1.10.0 1.10.1 1.10.2 1.10.3 1.11.0 1.11.1 1.11.2 1.11.3 1.12.0 1.13.0 All 131 releases
← All changes | groups.php +28 -10 1.1.44.7.1 View file →
@@ -1,9 +1,9 @@
1 1 <?php
2 2 /**
3 3 * groups.php
4 4 *
5 - * Copyright (c) 2011,2012 "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,29 @@
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.1.4
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 -define( 'GROUPS_CORE_VERSION', '1.1.4' );
36 +if ( !defined( 'ABSPATH' ) ) {
37 + exit;
38 +}
39 +define( 'GROUPS_CORE_VERSION', '4.7.1' );
31 40 define( 'GROUPS_FILE', __FILE__ );
32 41 if ( !defined( 'GROUPS_CORE_DIR' ) ) {
33 - define( 'GROUPS_CORE_DIR', WP_PLUGIN_DIR . '/groups' );
42 + define( 'GROUPS_CORE_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
34 43 }
35 44 if ( !defined( 'GROUPS_CORE_LIB' ) ) {
36 45 define( 'GROUPS_CORE_LIB', GROUPS_CORE_DIR . '/lib/core' );
37 46 }
@@ -49,9 +58,18 @@
49 58 }
50 59 if ( !defined( 'GROUPS_WP_LIB' ) ) {
51 60 define( 'GROUPS_WP_LIB', GROUPS_CORE_DIR . '/lib/wp' );
52 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 +}
53 71 if ( !defined( 'GROUPS_CORE_URL' ) ) {
54 - define( 'GROUPS_CORE_URL', WP_PLUGIN_URL . '/groups' );
72 + define( 'GROUPS_CORE_URL', plugins_url( 'groups' ) );
55 73 }
56 -require_once( GROUPS_CORE_LIB . '/constants.php' );
57 -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';