Plugin Directory


Ignore:
Timestamp:
10/14/2026 08:02:34 PM (8 days ago)
Author:
hivepress
Message:

Release 1.8.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hivepress/trunk/includes/fields/class-textarea.php

    r3732142 r3747070  
    102102                        wp_enqueue_style( 'wp-block-embed' );
    103103
    104                         return make_clickable( apply_filters( 'the_content', empty( $this->html ) ? esc_html( $this->value ) : $this->value ) );
     104                        return make_clickable( apply_filters( 'the_content', empty( $this->html ) ? esc_html( $this->value ) : $this->value ) ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- Core WordPress hook, applies the default content formatting.
    105105                }
    106106        }
    … …  
    126126        protected function sanitize() {
    127127                if ( empty( $this->html ) ) {
    128                         $this->value = sanitize_textarea_field( $this->value );
     128                        $this->value = hp\strip_shortcodes( sanitize_textarea_field( $this->value ) );
    129129                } else {
    130130                        parent::sanitize();
Note: See TracChangeset for help on using the changeset viewer.