Add `editor_stylesheets` filter to `get_editor_stylesheets()`.

props danielbachhuber, MikeHansenMe.
fixes #31672.
Built from https://develop.svn.wordpress.org/trunk@32928


git-svn-id: http://core.svn.wordpress.org/trunk@32899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-06-24 13:32:32 +00:00
parent e9758d4e48
commit 3f448d7cd5
2 changed files with 9 additions and 2 deletions

View File

@ -1499,7 +1499,14 @@ function get_editor_stylesheets() {
}
}
}
return $stylesheets;
/**
* Filter the array of stylesheets applied to the editor.
*
* @since 4.3.0
*
* @param array $stylesheets Array of stylesheets to be applied to the editor.
*/
return apply_filters( 'editor_stylesheets', $stylesheets );
}
/**

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-32927';
$wp_version = '4.3-alpha-32928';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.