Skip to content

Commit 8f0564c

Browse files
committed
Merge branch 'release/2.6.4'
2 parents b9919e8 + 1e1bb1d commit 8f0564c

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
## v2.6.4 - 05/09/2025
6+
7+
- Fix: Revert change in previous update that broke rendering of some shortcodes within `[content_control]` shortcode inner contents.
8+
59
## v2.6.3 - 05/08/2025
610

711
- Fix: Excerpt rendering when custom message wasn't set.

classes/Controllers/Shortcodes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function content_control( $atts, $content = '' ) {
9797
$container,
9898
esc_attr( $classes ),
9999
// Sanitize the content output, allowing safe HTML and processed shortcodes.
100-
wp_kses_post( do_shortcode( $content ) ),
100+
do_shortcode( $content ),
101101
// Sanitize the message output, allowing safe HTML and processed shortcodes.
102102
wp_kses_post( do_shortcode( $atts['message'] ) )
103103
);

content-control.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Content Control
44
* Plugin URI: https://contentcontrolplugin.com/?utm_campaign=plugin-info&utm_source=php-file-header&utm_medium=plugin-ui&utm_content=plugin-uri
55
* Description: Restrict content to logged in/out users or specific user roles. Restrict access to certain parts of a page/post. Control the visibility of widgets.
6-
* Version: 2.6.3
6+
* Version: 2.6.4
77
* Author: Code Atlantic
88
* Author URI: https://code-atlantic.com/?utm_campaign=plugin-info&utm_source=php-file-header&utm_medium=plugin-ui&utm_content=author-uri
99
* Donate link: https://code-atlantic.com/donate/?utm_campaign=donations&utm_source=php-file-header&utm_medium=plugin-ui&utm_content=donate-link
@@ -30,7 +30,7 @@ function get_plugin_config() {
3030
return [
3131
'name' => 'Content Control',
3232
'slug' => 'content-control',
33-
'version' => '2.6.3',
33+
'version' => '2.6.4',
3434
'option_prefix' => 'content_control',
3535
// Maybe remove this and simply prefix `name` with `'Popup Maker'`.
3636
'text_domain' => 'content-control',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "content-control",
3-
"version": "2.6.3",
3+
"version": "2.6.4",
44
"description": "",
55
"author": "Code Atlantic LLC",
66
"license": "GPL-2.0-or-later",

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Donate link: https://code-atlantic.com/donate/?utm_campaign=donations&utm_source
66
Tags: membership, access control, members only, content restriction, maintenance mode
77
Requires at least: 6.2
88
Tested up to: 6.8.1
9-
Stable tag: 2.6.3
9+
Stable tag: 2.6.4
1010
Requires PHP: 7.4
1111
License: GPLv3 (or later)
1212

@@ -110,6 +110,10 @@ Bugs can be reported either in our support forum or we are happy to accept PRs o
110110

111111
== Changelog ==
112112

113+
= v2.6.4 - 05/09/2025 =
114+
115+
* Fix: Revert change in previous update that broke rendering of some shortcodes within `[content_control]` shortcode inner contents.
116+
113117
= v2.6.3 - 05/08/2025 =
114118

115119
* Fix: Excerpt rendering when custom message wasn't set.

0 commit comments

Comments
 (0)