Version Description
- Fix: Language options not accessible for WPML and Polylang
Download this release
Release Info
Developer | dfactory |
Plugin | Restrict Widgets |
Version | 1.2.3 |
Comparing to | |
See all releases |
Code changes from version 1.2.2 to 1.2.3
- readme.txt +6 -3
- restrict-widgets.php +2 -2
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.dfactory.eu/
|
|
4 |
Tags: widget, widgets, widget-only, cms, conditional tags, conditional, widget logic, widget context, restrict, manage, management, capability, capabilities, sidebar, sidebars, user, permission, permissions
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.8
|
7 |
-
Stable tag: 1.2.
|
8 |
License: MIT License
|
9 |
License URI: http://opensource.org/licenses/MIT
|
10 |
|
@@ -56,6 +56,9 @@ No questions yet.
|
|
56 |
|
57 |
== Changelog ==
|
58 |
|
|
|
|
|
|
|
59 |
= 1.2.2 =
|
60 |
* Tweak: UI fixes for WP 3.8
|
61 |
|
@@ -99,5 +102,5 @@ Initial release
|
|
99 |
|
100 |
== Upgrade Notice ==
|
101 |
|
102 |
-
= 1.2.
|
103 |
-
*
|
4 |
Tags: widget, widgets, widget-only, cms, conditional tags, conditional, widget logic, widget context, restrict, manage, management, capability, capabilities, sidebar, sidebars, user, permission, permissions
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.8
|
7 |
+
Stable tag: 1.2.3
|
8 |
License: MIT License
|
9 |
License URI: http://opensource.org/licenses/MIT
|
10 |
|
56 |
|
57 |
== Changelog ==
|
58 |
|
59 |
+
= 1.2.3 =
|
60 |
+
* Fix: Language options not accessible for WPML and Polylang
|
61 |
+
|
62 |
= 1.2.2 =
|
63 |
* Tweak: UI fixes for WP 3.8
|
64 |
|
102 |
|
103 |
== Upgrade Notice ==
|
104 |
|
105 |
+
= 1.2.3 =
|
106 |
+
* Fix: Language options not accessible
|
restrict-widgets.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Restrict Widgets
|
4 |
Description: All in one solution for widget management in WordPress. Allows you to hide or display widgets on specified pages and restrict access for users.
|
5 |
-
Version: 1.2.
|
6 |
Author: dFactory
|
7 |
Author URI: http://www.dfactory.eu/
|
8 |
Plugin URI: http://www.dfactory.eu/plugins/restrict-widgets/
|
@@ -1230,7 +1230,7 @@ class Restrict_Widgets
|
|
1230 |
}
|
1231 |
case 'languages':
|
1232 |
{
|
1233 |
-
if($this->languages
|
1234 |
return $html;
|
1235 |
|
1236 |
if(($rw_option['groups'] === TRUE && $type === 'widget') || current_user_can('manage_options'))
|
2 |
/*
|
3 |
Plugin Name: Restrict Widgets
|
4 |
Description: All in one solution for widget management in WordPress. Allows you to hide or display widgets on specified pages and restrict access for users.
|
5 |
+
Version: 1.2.3
|
6 |
Author: dFactory
|
7 |
Author URI: http://www.dfactory.eu/
|
8 |
Plugin URI: http://www.dfactory.eu/plugins/restrict-widgets/
|
1230 |
}
|
1231 |
case 'languages':
|
1232 |
{
|
1233 |
+
if($this->languages === FALSE)
|
1234 |
return $html;
|
1235 |
|
1236 |
if(($rw_option['groups'] === TRUE && $type === 'widget') || current_user_can('manage_options'))
|