You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: changelog.txt
+4
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,10 @@ Found a bug? Have a great feature idea? Get on GitHub and tell us about it and w
2
2
3
3
Our GitHub has the full list of all prior releases of Pods: https://github.com/pods-framework/pods/releases
4
4
5
+
= 3.2.7.1 - October 9th, 2024 =
6
+
7
+
* Security: Lock down heading field to only specific allowed HTML tags and preventing it from being used to insert malicious scripts. Props to the CleanTalk / Dmitrii Ignatyev for responsibly reporting this. (@sc0ttkclark)
8
+
5
9
= 3.2.7 - August 28th, 2024 =
6
10
7
11
* Feature: New Pods Related Item List block that works like a Pods Item List block but uses the Pods Single Item block context where you specify a relationship field name to reference. (@sc0ttkclark)
Copy file name to clipboardexpand all lines: classes/fields/heading.php
+57-11
Original file line number
Diff line number
Diff line change
@@ -41,15 +41,25 @@ public function setup() {
41
41
publicfunctionoptions() {
42
42
return [
43
43
static::$type . '_tag' => [
44
-
'label' => __( 'Heading HTML Tag', 'pods' ),
45
-
'type' => 'text',
46
-
'default' => '',
44
+
'label' => __( 'Heading HTML Tag', 'pods' ),
45
+
'type' => 'pick',
46
+
'data' => [
47
+
'h1' => 'h1',
48
+
'h2' => 'h2',
49
+
'h3' => 'h3',
50
+
'h4' => 'h4',
51
+
'h5' => 'h5',
52
+
'h6' => 'h6',
53
+
'p' => 'p',
54
+
'div' => 'div',
55
+
],
56
+
'default' => 'h2',
47
57
'description' => __( 'Leave this empty to use the default heading tag for the form context the heading appears in.', 'pods' ),
48
58
'help' => __( 'This is the heading HTML tag to use for the heading text. Example "h2" will output your heading as <code><h2>Heading Text</h2></code>', 'pods' ),
49
59
],
50
-
'output_options' => [
51
-
'label' => __( 'Output Options', 'pods' ),
52
-
'type' => 'boolean_group',
60
+
'output_options'=> [
61
+
'label'=> __( 'Output Options', 'pods' ),
62
+
'type'=> 'boolean_group',
53
63
'boolean_group' => [
54
64
static::$type . '_allow_html' => [
55
65
'label' => __( 'Allow HTML', 'pods' ),
@@ -101,11 +111,13 @@ public function schema( $options = null ) {
@@ -96,7 +96,7 @@ You can enable some of our included components to extend your WordPress site eve
96
96
97
97
= Plugins that integrate with Pods =
98
98
99
-
* [Advanced Views Lite](https://pods.io/advanced-views-lite/) - Lets you build templates (views) and queries (cards) so that you can manage your content rendering with less code.
99
+
* [Advanced Views Lite](https://wplake.org/advanced-views-lite/?ref=5) - Lets you build templates (views) and queries (cards) so that you can manage your content rendering with less code. (Disclaimer: We have an affiliate link to them to help support our project)
* [Pods Gravity Forms Add-On](https://wordpress.org/plugins/pods-gravity-forms/) - Integrates Pods with [Gravity Forms](https://pods.io/gravityforms/)
117
+
* [Pods Gravity Forms Add-On](https://wordpress.org/plugins/pods-gravity-forms/) - Integrates Pods with [Gravity Forms](https://www.gravityforms.com/)
118
118
* [Pods Alternative Cache Add-On](https://wordpress.org/plugins/pods-alternative-cache/) - Speed up Pods on servers with limited object caching capabilities
119
119
* [Pods SEO Add-On](https://wordpress.org/plugins/pods-seo/) - Integrates Pods Advanced Content Types with Yoast SEO
120
120
* [Pods AJAX Views Add-On](https://wordpress.org/plugins/pods-ajax-views/) - Adds new functions you can use to output template parts that load via AJAX after other page elements
@@ -182,6 +182,10 @@ Pods really wouldn't be where it is without all the contributions from our [dono
182
182
183
183
== Changelog ==
184
184
185
+
= 3.2.7.1 - October 9th, 2024 =
186
+
187
+
* Security: Lock down heading field to only specific allowed HTML tags and preventing it from being used to insert malicious scripts. Props to the CleanTalk / Dmitrii Ignatyev for responsibly reporting this. (@sc0ttkclark)
188
+
185
189
= 3.2.7 - August 28th, 2024 =
186
190
187
191
* Feature: New Pods Related Item List block that works like a Pods Item List block but uses the Pods Single Item block context where you specify a relationship field name to reference. (@sc0ttkclark)
0 commit comments