Version Description
Download this release
Release Info
Developer | itthinx |
Plugin | Groups |
Version | 2.14.1 |
Comparing to | |
See all releases |
Code changes from version 2.14.0 to 2.14.1
- changelog.txt +4 -0
- groups.php +2 -2
- lib/admin/groups-admin-add-ons.php +2 -9
- lib/blocks/src/index.js +55 -0
- readme.txt +2 -7
changelog.txt
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
== Groups by itthinx - changelog.txt
|
2 |
|
|
|
|
|
|
|
|
|
3 |
= 2.14.0 =
|
4 |
* WordPress 5.8 compatible.
|
5 |
* Minimum WordPress version 5.5 is required.
|
1 |
== Groups by itthinx - changelog.txt
|
2 |
|
3 |
+
= 2.14.1 =
|
4 |
+
* Removed outdated changelog section info.
|
5 |
+
* Updated Add-Ons section and removed entry for subsumed integration.
|
6 |
+
|
7 |
= 2.14.0 =
|
8 |
* WordPress 5.8 compatible.
|
9 |
* Minimum WordPress version 5.5 is required.
|
groups.php
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
* Plugin Name: Groups
|
22 |
* Plugin URI: https://www.itthinx.com/plugins/groups
|
23 |
* Description: Groups provides group-based user membership management, group-based capabilities and content access control.
|
24 |
-
* Version: 2.14.
|
25 |
* Author: itthinx
|
26 |
* Author URI: https://www.itthinx.com
|
27 |
* Donate-Link: https://www.itthinx.com/shop/
|
@@ -32,7 +32,7 @@
|
|
32 |
if ( !defined( 'ABSPATH' ) ) {
|
33 |
exit;
|
34 |
}
|
35 |
-
define( 'GROUPS_CORE_VERSION', '2.14.
|
36 |
define( 'GROUPS_FILE', __FILE__ );
|
37 |
if ( !defined( 'GROUPS_CORE_DIR' ) ) {
|
38 |
define( 'GROUPS_CORE_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
|
21 |
* Plugin Name: Groups
|
22 |
* Plugin URI: https://www.itthinx.com/plugins/groups
|
23 |
* Description: Groups provides group-based user membership management, group-based capabilities and content access control.
|
24 |
+
* Version: 2.14.1
|
25 |
* Author: itthinx
|
26 |
* Author URI: https://www.itthinx.com
|
27 |
* Donate-Link: https://www.itthinx.com/shop/
|
32 |
if ( !defined( 'ABSPATH' ) ) {
|
33 |
exit;
|
34 |
}
|
35 |
+
define( 'GROUPS_CORE_VERSION', '2.14.1' );
|
36 |
define( 'GROUPS_FILE', __FILE__ );
|
37 |
if ( !defined( 'GROUPS_CORE_DIR' ) ) {
|
38 |
define( 'GROUPS_CORE_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
|
lib/admin/groups-admin-add-ons.php
CHANGED
@@ -87,7 +87,7 @@ function groups_admin_add_ons_content( $params = array( 'offset' => 0 ) ) {
|
|
87 |
),
|
88 |
'groups-newsletters' => array(
|
89 |
'title' => 'Groups Newsletters',
|
90 |
-
'content' => 'Newsletter Campaigns for Subscribers and Groups. Groups Newsletters helps you to communicate efficiently, providing targeted information to groups of recipients through automated campaigns.',
|
91 |
'image' => GROUPS_PLUGIN_URL . 'images/add-ons/groups-newsletters.png',
|
92 |
'url' => 'https://www.itthinx.com/shop/groups-newsletters/',
|
93 |
'index' => 100
|
@@ -126,14 +126,7 @@ function groups_admin_add_ons_content( $params = array( 'offset' => 0 ) ) {
|
|
126 |
'image' => GROUPS_PLUGIN_URL . 'images/add-ons/woocommerce-group-coupons.png',
|
127 |
'url' => 'https://www.itthinx.com/shop/woocommerce-group-coupons/',
|
128 |
'index' => 40
|
129 |
-
)
|
130 |
-
'woocommerce-groups-newsletters' => array(
|
131 |
-
'title' => 'WooCommerce Groups Newsletters',
|
132 |
-
'content' => 'The WooCommerce Groups Newsletters extension lets customers subscribe to newsletters at checkout.',
|
133 |
-
'image' => GROUPS_PLUGIN_URL . 'images/add-ons/woocommerce-groups-newsletters.png',
|
134 |
-
'url' => 'https://www.itthinx.com/shop/woocommerce-groups-newsletters/',
|
135 |
-
'index' => 100
|
136 |
-
),
|
137 |
);
|
138 |
usort( $entries, 'groups_admin_add_ons_sort' );
|
139 |
|
87 |
),
|
88 |
'groups-newsletters' => array(
|
89 |
'title' => 'Groups Newsletters',
|
90 |
+
'content' => 'Newsletter Campaigns for Subscribers and Groups. Groups Newsletters helps you to communicate efficiently, providing targeted information to groups of recipients through automated campaigns. Integrated with WooCommerce, lets customers subscribe to newsletters at checkout.',
|
91 |
'image' => GROUPS_PLUGIN_URL . 'images/add-ons/groups-newsletters.png',
|
92 |
'url' => 'https://www.itthinx.com/shop/groups-newsletters/',
|
93 |
'index' => 100
|
126 |
'image' => GROUPS_PLUGIN_URL . 'images/add-ons/woocommerce-group-coupons.png',
|
127 |
'url' => 'https://www.itthinx.com/shop/woocommerce-group-coupons/',
|
128 |
'index' => 40
|
129 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
);
|
131 |
usort( $entries, 'groups_admin_add_ons_sort' );
|
132 |
|
lib/blocks/src/index.js
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* blocks.js
|
3 |
+
*
|
4 |
+
* Copyright (c) "kento" Karim Rahimpur www.itthinx.com
|
5 |
+
*
|
6 |
+
* This code is released under the GNU General Public License.
|
7 |
+
* See COPYRIGHT.txt and LICENSE.txt.
|
8 |
+
*
|
9 |
+
* This code is distributed in the hope that it will be useful,
|
10 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12 |
+
* GNU General Public License for more details.
|
13 |
+
*
|
14 |
+
* This header and all notices must be kept intact.
|
15 |
+
*
|
16 |
+
* @author Denitsa Slavcheva
|
17 |
+
* @author itthinx
|
18 |
+
* @package groups
|
19 |
+
* @since groups 2.8.0
|
20 |
+
*/
|
21 |
+
|
22 |
+
// Version 2.14.0 Notes:
|
23 |
+
// - Updated package.json to use wp-scripts instead of cgb-scripts
|
24 |
+
// - Packages needed to be added to build:
|
25 |
+
// $ npm i react-select
|
26 |
+
// $ npm i classnames
|
27 |
+
// - Now using standard wp-scripts build/index.js instead of prior dist/blocks.build.js
|
28 |
+
// - To generate build/index.css which replaces the prior dist/blocks.editor.build.css:
|
29 |
+
// $ npm run build
|
30 |
+
// - Using appropriate import statements instead of prior const.
|
31 |
+
|
32 |
+
import './blocks/groups-member/block.js';
|
33 |
+
import './blocks/groups-non-member/block.js';
|
34 |
+
|
35 |
+
// Change the 'groups' category icon in the block editor.
|
36 |
+
wp.blocks.updateCategory(
|
37 |
+
'groups',
|
38 |
+
{
|
39 |
+
icon : wp.element.createElement(
|
40 |
+
'svg',
|
41 |
+
{
|
42 |
+
width : 20,
|
43 |
+
height : 20,
|
44 |
+
viewBox: '0 0 20 20',
|
45 |
+
fill: '#7392cf'
|
46 |
+
},
|
47 |
+
wp.element.createElement(
|
48 |
+
'path',
|
49 |
+
{
|
50 |
+
d:"M 5.14,2.85 C 5.11,2.85 5.09,2.87 5.09,2.90 5.09,2.93 5.11,2.96 5.14,2.96 5.17,2.96 5.19,2.93 5.19,2.90 5.19,2.87 5.17,2.85 5.14,2.85 Z M 1.53,1.64 C 1.49,1.64 1.45,1.68 1.45,1.72 1.45,1.76 1.49,1.80 1.53,1.80 1.58,1.80 1.61,1.76 1.61,1.72 1.61,1.68 1.58,1.64 1.53,1.64 Z M 4.17,1.24 C 4.09,1.24 4.03,1.30 4.03,1.37 4.03,1.44 4.09,1.50 4.17,1.50 4.24,1.50 4.30,1.44 4.30,1.37 4.30,1.30 4.24,1.24 4.17,1.24 Z M 16.67,16.32 C 16.55,16.32 16.45,16.41 16.45,16.53 16.45,16.65 16.55,16.74 16.67,16.74 16.79,16.74 16.88,16.65 16.88,16.53 16.88,16.41 16.79,16.32 16.67,16.32 Z M 3.97,4.68 C 3.78,4.68 3.63,4.83 3.63,5.02 3.63,5.21 3.78,5.37 3.97,5.37 4.16,5.37 4.32,5.21 4.32,5.02 4.32,4.83 4.16,4.68 3.97,4.68 Z M 13.28,8.84 C 12.97,8.84 12.72,9.09 12.72,9.40 12.72,9.71 12.97,9.96 13.28,9.96 13.59,9.96 13.84,9.71 13.84,9.40 13.84,9.09 13.59,8.84 13.28,8.84 Z M 16.63,11.50 C 16.13,11.50 15.73,11.90 15.73,12.40 15.73,12.90 16.13,13.30 16.63,13.30 17.13,13.30 17.53,12.90 17.53,12.40 17.53,11.90 17.13,11.50 16.63,11.50 Z M 8.57,1.55 C 7.26,1.55 6.21,2.60 6.21,3.91 6.21,5.21 7.26,6.27 8.57,6.27 9.87,6.27 10.93,5.21 10.93,3.91 10.93,2.60 9.87,1.55 8.57,1.55 Z M 15.30,1.07 C 13.19,1.07 11.48,2.78 11.48,4.89 11.48,7.00 13.19,8.71 15.30,8.71 17.41,8.71 19.12,7.00 19.12,4.89 19.12,2.78 17.41,1.07 15.30,1.07 Z M 7.25,6.76 C 3.84,6.76 1.07,9.52 1.07,12.94 1.07,16.35 3.84,19.12 7.25,19.12 10.66,19.12 13.43,16.35 13.43,12.94 13.43,9.52 10.66,6.76 7.25,6.76 Z"
|
51 |
+
}
|
52 |
+
)
|
53 |
+
)
|
54 |
+
}
|
55 |
+
);
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: groups, access, access control, membership, memberships, member, members,
|
|
5 |
Requires at least: 5.5
|
6 |
Tested up to: 5.8
|
7 |
Requires PHP: 5.6.0
|
8 |
-
Stable tag: 2.14.
|
9 |
License: GPLv3
|
10 |
|
11 |
Groups is an efficient and powerful solution, providing group-based user membership management, group-based capabilities and content access control.
|
@@ -193,13 +193,8 @@ See also the [Groups Documentation](https://docs.itthinx.com/document/groups/) p
|
|
193 |
|
194 |
== Changelog ==
|
195 |
|
196 |
-
= 2.8.0 =
|
197 |
-
* Added the Groups Members block: A block whose content is only visible for members of selected groups.
|
198 |
-
* Added the Groups Non-Members block: a block whose content is hidden for members of chosen groups.
|
199 |
-
* Removed use of parenthesis with require_once and include_once.
|
200 |
-
|
201 |
For the full changelog see [changelog.txt](https://github.com/itthinx/groups/blob/master/changelog.txt).
|
202 |
|
203 |
== Upgrade Notice ==
|
204 |
|
205 |
-
This release has been tested with the latest version of WordPress
|
5 |
Requires at least: 5.5
|
6 |
Tested up to: 5.8
|
7 |
Requires PHP: 5.6.0
|
8 |
+
Stable tag: 2.14.1
|
9 |
License: GPLv3
|
10 |
|
11 |
Groups is an efficient and powerful solution, providing group-based user membership management, group-based capabilities and content access control.
|
193 |
|
194 |
== Changelog ==
|
195 |
|
|
|
|
|
|
|
|
|
|
|
196 |
For the full changelog see [changelog.txt](https://github.com/itthinx/groups/blob/master/changelog.txt).
|
197 |
|
198 |
== Upgrade Notice ==
|
199 |
|
200 |
+
This release has been tested with the latest version of WordPress.
|