Changeset 55988 for trunk/src/wp-includes/class-wp-editor.php
- Timestamp:
- 06/22/2023 02:34:56 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r55648 r55988 107 107 108 108 if ( self::$this_tinymce ) { 109 if ( false !== strpos( $editor_id, '[' ) ) {109 if ( str_contains( $editor_id, '[' ) ) { 110 110 self::$this_tinymce = false; 111 111 _deprecated_argument( 'wp_editor()', '3.9.0', 'TinyMCE editor IDs cannot have brackets.' ); … … 1485 1485 } 1486 1486 1487 if ( false !== strpos( $value, '&' ) ) {1487 if ( str_contains( $value, '&' ) ) { 1488 1488 $mce_translation[ $key ] = html_entity_decode( $value, ENT_QUOTES, 'UTF-8' ); 1489 1489 }
Note: See TracChangeset
for help on using the changeset viewer.