Make WordPress Core

Ticket #30187: filter.class-wp-editor.php.diff

File filter.class-wp-editor.php.diff, 616 bytes (added by dancameron, 10 years ago)

Add context and additional information to mce_css filter

  • src/wp-includes/class-wp-editor.php

     
    527531                                 *
    528532                                 * @param array $stylesheets Comma-delimited list of stylesheets.
    529533                                 */
    530                                 $mce_css = trim( apply_filters( 'mce_css', implode( ',', $mce_css ) ), ' ,' );
     534                                $mce_css = trim( apply_filters( 'mce_css', implode( ',', $mce_css ), $set ), ' ,' );
    531535
    532536                                if ( ! empty($mce_css) )
    533537                                        self::$first_init['content_css'] = $mce_css;
     538 No newline at end of file