From 0fc7597032753c2a2c7bb307adf983babd823508 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 18 Oct 2017 18:09:47 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-editor.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php index 3f639112d1..0743a840fe 100644 --- a/wp-includes/class-wp-editor.php +++ b/wp-includes/class-wp-editor.php @@ -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 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index a723fef972..477b22cb25 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.