Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions classes/helpers/FrmFieldsHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -943,10 +943,15 @@ private static function atts_sanitize_url( $replace_with ) {
*
* @since 3.01.02
*
* @param array $atts Includes entry object.
* @param string $value
* @param array $atts Includes entry object.
* @param string|null $value
* @return void
*/
public static function sanitize_embedded_shortcodes( $atts, &$value ) {
if ( is_null( $value ) ) {
return;
}

$atts['value'] = $value;
$should_sanitize = apply_filters( 'frm_sanitize_shortcodes', true, $atts );
if ( $should_sanitize ) {
Expand Down