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:
parent
a28bd1d36c
commit
0fc7597032
|
@ -745,6 +745,8 @@ final class _WP_Editors {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
|
*
|
||||||
|
* @param bool $default_scripts Optional. Whether default scripts should be enqueued. Default false.
|
||||||
*/
|
*/
|
||||||
public static function enqueue_scripts( $default_scripts = false ) {
|
public static function enqueue_scripts( $default_scripts = false ) {
|
||||||
if ( $default_scripts || self::$has_tinymce ) {
|
if ( $default_scripts || self::$has_tinymce ) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue