Ticket #27601: 27601.1.diff
File 27601.1.diff, 633 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/class-wp-editor.php
80 80 ) ); 81 81 82 82 self::$this_tinymce = ( $set['tinymce'] && user_can_richedit() ); 83 84 if ( self::$this_tinymce ) { 85 if ( false !== strpos( $editor_id, '[' ) ) { 86 self::$this_tinymce = false; 87 _deprecated_argument( __METHOD__, '3.9', 'TinyMCE editor IDs cannot have brackets.' ); 88 } 89 } 90 83 91 self::$this_quicktags = (bool) $set['quicktags']; 84 92 85 93 if ( self::$this_tinymce )