Docs: Document `$default_scripts` parameter in `_WP_Editors::enqueue_scripts()`.

Props danieltj, ajayghaghretiya1.
Fixes #41322.
Built from https://develop.svn.wordpress.org/trunk@41917


git-svn-id: http://core.svn.wordpress.org/trunk@41751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-10-18 18:09:47 +00:00
parent a28bd1d36c
commit 0fc7597032
2 changed files with 3 additions and 1 deletions

View File

@ -745,6 +745,8 @@ final class _WP_Editors {
/**
*
* @static
*
* @param bool $default_scripts Optional. Whether default scripts should be enqueued. Default false.
*/
public static function enqueue_scripts( $default_scripts = false ) {
if ( $default_scripts || self::$has_tinymce ) {

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-beta2-41916';
$wp_version = '4.9-beta2-41917';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.