From ae53e417d5febc93e7c3535e67bfd4a594279828 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 31 Dec 2019 01:29:42 +0000 Subject: [PATCH] Docs: Add missing descriptions and `@return` tags for `_WP_Editors::get_mce_locale()` and `::get_baseurl()`. Props adnan.limdi. Fixes #41869. git-svn-id: https://develop.svn.wordpress.org/trunk@47023 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-editor.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php index 0585db0126..7617812f97 100644 --- a/src/wp-includes/class-wp-editor.php +++ b/src/wp-includes/class-wp-editor.php @@ -1024,7 +1024,11 @@ final class _WP_Editors { } /** + * Returns the TinyMCE locale. + * * @since 4.8.0 + * + * @return string */ public static function get_mce_locale() { if ( empty( self::$mce_locale ) ) { @@ -1036,7 +1040,11 @@ final class _WP_Editors { } /** + * Returns the TinyMCE base URL. + * * @since 4.8.0 + * + * @return string */ public static function get_baseurl() { if ( empty( self::$baseurl ) ) {