Ticket #17144: 17144.require-close-quicktag.patch
File 17144.require-close-quicktag.patch, 731 bytes (added by , 13 years ago) |
---|
-
wp-includes/class-wp-editor.php
124 124 125 125 $qtInit = array( 126 126 'id' => $editor_id, 127 'buttons' => implode( $qtbuttons, ','),128 'disabled_buttons' => implode( $qtbuttons_disabled, ',')127 'buttons' => implode(',', $qtbuttons), 128 'disabled_buttons' => implode(',', $qtbuttons_disabled) 129 129 ); 130 130 131 131 if ( is_array($settings['quicktags']) ) 132 132 $qtInit = array_merge($qtInit, $settings['quicktags']); 133 133 134 if ( $settings['tinymce'] ) 135 $qtInit['buttons'] .= ',close'; 136 134 137 $this->qt_settings[$editor_id] = $qtInit; 135 138 } 136 139