From 5883e53bbf86f96817a4e288ca82ba15b190a888 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 16 Dec 2023 09:31:29 +0000 Subject: [PATCH] Docs: Document the `$current_screen` global in `_WP_Editors::editor()`. Follow-up to [32899]. Props viralsampat. See #60021. Built from https://develop.svn.wordpress.org/trunk@57193 git-svn-id: http://core.svn.wordpress.org/trunk@56704 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 bd73540bc9..5d7ba224cc 100644 --- a/wp-includes/class-wp-editor.php +++ b/wp-includes/class-wp-editor.php @@ -149,6 +149,8 @@ final class _WP_Editors { * * @since 3.3.0 * + * @global WP_Screen $current_screen WordPress current screen object. + * * @param string $content Initial content for the editor. * @param string $editor_id HTML ID for the textarea and TinyMCE and Quicktags instances. * Should not contain square brackets. diff --git a/wp-includes/version.php b/wp-includes/version.php index 8d34a3d5bc..3a963f4147 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57192'; +$wp_version = '6.5-alpha-57193'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.