Ticket #24472: 24472.3.diff
File 24472.3.diff, 881 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/class-wp-editor.php
62 62 * @return array Parsed arguments array. 63 63 */ 64 64 public static function parse_settings( $editor_id, $settings ) { 65 $set = wp_parse_args( $settings, array( 65 66 /** 67 * Filter the wp_editor() settings. 68 * 69 * @since 4.0.0 70 * 71 * @see _WP_Editors()::parse_settings() 72 * 73 * @param array $settings Array of editor arguments. 74 * @param string $editor_id ID for the current editor instance. 75 */ 76 $defaults = apply_filters( 'wp_editor_settings', $settings, $editor_id ); 77 78 $set = wp_parse_args( $settings, array( 66 79 'wpautop' => true, 67 80 'media_buttons' => true, 68 81 'default_editor' => '',