Changeset 3747070 for hivepress/trunk/includes/fields/class-textarea.php
- Timestamp:
- 10/14/2026 08:02:34 PM (8 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
hivepress/trunk/includes/fields/class-textarea.php
r3732142 r3747070 102 102 wp_enqueue_style( 'wp-block-embed' ); 103 103 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. 105 105 } 106 106 } … … 126 126 protected function sanitize() { 127 127 if ( empty( $this->html ) ) { 128 $this->value = sanitize_textarea_field( $this->value);128 $this->value = hp\strip_shortcodes( sanitize_textarea_field( $this->value ) ); 129 129 } else { 130 130 parent::sanitize();
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)