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