Groups - Version 1.12.0

Version Description

  • Fixed an issue where resource paths were not correct with customized WP_CONTENT_DIR, WP_CONTENT_URL, WP_PLUGIN_DIR and WP_PLUGIN_URL.

=

Download this release

Release Info

Developer itthinx
Plugin Icon 128x128 Groups
Version 1.12.0
Comparing to
See all releases

Code changes from version 1.11.3 to 1.12.0

Files changed (4) hide show
  1. changelog.txt +3 -0
  2. groups.php +3 -3
  3. lib/core/constants.php +1 -1
  4. readme.txt +5 -16
changelog.txt CHANGED
@@ -1,5 +1,8 @@
1
  == Groups changelog.txt ==
2
 
 
 
 
3
  = 1.11.3 =
4
  * Updated the Spanish translation.
5
 
1
  == Groups changelog.txt ==
2
 
3
+ = 1.12.0 =
4
+ * Fixed an issue where resource paths were not correct with customized WP_CONTENT_DIR, WP_CONTENT_URL, WP_PLUGIN_DIR and WP_PLUGIN_URL.
5
+
6
  = 1.11.3 =
7
  * Updated the Spanish translation.
8
 
groups.php CHANGED
@@ -21,7 +21,7 @@
21
  * Plugin Name: Groups
22
  * Plugin URI: http://www.itthinx.com/plugins/groups
23
  * Description: Groups provides group-based user membership management, group-based capabilities and content access control.
24
- * Version: 1.11.3
25
  * Author: itthinx
26
  * Author URI: http://www.itthinx.com
27
  * Donate-Link: http://www.itthinx.com
@@ -30,7 +30,7 @@
30
  if ( !defined( 'ABSPATH' ) ) {
31
  exit;
32
  }
33
- define( 'GROUPS_CORE_VERSION', '1.11.3' );
34
  define( 'GROUPS_FILE', __FILE__ );
35
  if ( !defined( 'GROUPS_CORE_DIR' ) ) {
36
  define( 'GROUPS_CORE_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
@@ -54,7 +54,7 @@ if ( !defined( 'GROUPS_WP_LIB' ) ) {
54
  define( 'GROUPS_WP_LIB', GROUPS_CORE_DIR . '/lib/wp' );
55
  }
56
  if ( !defined( 'GROUPS_CORE_URL' ) ) {
57
- define( '_GROUPS_CORE_URL', plugins_url( 'groups' ) );
58
  }
59
  require_once( GROUPS_CORE_LIB . '/constants.php' );
60
  require_once( GROUPS_CORE_LIB . '/wp-init.php');
21
  * Plugin Name: Groups
22
  * Plugin URI: http://www.itthinx.com/plugins/groups
23
  * Description: Groups provides group-based user membership management, group-based capabilities and content access control.
24
+ * Version: 1.12.0
25
  * Author: itthinx
26
  * Author URI: http://www.itthinx.com
27
  * Donate-Link: http://www.itthinx.com
30
  if ( !defined( 'ABSPATH' ) ) {
31
  exit;
32
  }
33
+ define( 'GROUPS_CORE_VERSION', '1.12.0' );
34
  define( 'GROUPS_FILE', __FILE__ );
35
  if ( !defined( 'GROUPS_CORE_DIR' ) ) {
36
  define( 'GROUPS_CORE_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
54
  define( 'GROUPS_WP_LIB', GROUPS_CORE_DIR . '/lib/wp' );
55
  }
56
  if ( !defined( 'GROUPS_CORE_URL' ) ) {
57
+ define( 'GROUPS_CORE_URL', plugins_url( 'groups' ) );
58
  }
59
  require_once( GROUPS_CORE_LIB . '/constants.php' );
60
  require_once( GROUPS_CORE_LIB . '/wp-init.php');
lib/core/constants.php CHANGED
@@ -41,7 +41,7 @@ define( 'GROUPS_PLUGIN_DIR', GROUPS_CORE_DIR );
41
  /**
42
  * @var string plugin url
43
  */
44
- define( 'GROUPS_PLUGIN_URL', plugin_dir_url( GROUPS_FILE ) );
45
 
46
  /**
47
  * @var string groups table prefix
41
  /**
42
  * @var string plugin url
43
  */
44
+ define( 'GROUPS_PLUGIN_URL', trailingslashit( GROUPS_CORE_URL ) );
45
 
46
  /**
47
  * @var string groups table prefix
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.itthinx.com/plugins/groups
4
  Tags: access, access control, capability, capabilities, content, download, downloads, file, file access, files, group, groups, member, members, membership, memberships, paypal, permission, permissions, subscription, subscriptions, woocommerce
5
  Requires at least: 4.0
6
  Tested up to: 4.5.3
7
- Stable tag: 1.11.3
8
  License: GPLv3
9
 
10
  Groups is an efficient and powerful solution, providing group-based user membership management, group-based capabilities and content access control.
@@ -182,21 +182,10 @@ See also [Groups](http://www.itthinx.com/plugins/groups/)
182
 
183
  == Changelog ==
184
 
185
- = 1.11.3 =
186
- * Updated the Spanish translation.
187
-
188
- = 1.11.2 =
189
- * Updated the translation template.
190
- * Updated the German translation.
191
- * Moved the complete changelog out to changelog.txt.
192
-
193
- = 1.11.1 =
194
- * Fixed the order_by and order parameters in Groups_Group::get_groups()
195
-
196
- = 1.11.0 =
197
- * Added the Brazilian Portuguese translation.
198
 
199
  == Upgrade Notice ==
200
 
201
- = 1.11.3 =
202
- This release provides an updated Spanish translation.
4
  Tags: access, access control, capability, capabilities, content, download, downloads, file, file access, files, group, groups, member, members, membership, memberships, paypal, permission, permissions, subscription, subscriptions, woocommerce
5
  Requires at least: 4.0
6
  Tested up to: 4.5.3
7
+ Stable tag: 1.12.0
8
  License: GPLv3
9
 
10
  Groups is an efficient and powerful solution, providing group-based user membership management, group-based capabilities and content access control.
182
 
183
  == Changelog ==
184
 
185
+ = 1.12.0 =
186
+ * Fixed an issue where resource paths were not correct with customized WP_CONTENT_DIR, WP_CONTENT_URL, WP_PLUGIN_DIR and WP_PLUGIN_URL.
 
 
 
 
 
 
 
 
 
 
 
187
 
188
  == Upgrade Notice ==
189
 
190
+ = 1.12.0 =
191
+ This release fixes issues with customized plugin and content directories.