From 8e29ebbc1663e278cff24ff985dbe5a7724d386d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 28 Apr 2022 16:53:09 +0000 Subject: [PATCH] Docs: Make the `@return` tag for `Translation_Entry::key()` more precise. Props manooweb. Fixes #55640. Built from https://develop.svn.wordpress.org/trunk@53305 git-svn-id: http://core.svn.wordpress.org/trunk@52894 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/pomo/entry.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/pomo/entry.php b/wp-includes/pomo/entry.php index 0e53bc1afd..55ff28680e 100644 --- a/wp-includes/pomo/entry.php +++ b/wp-includes/pomo/entry.php @@ -84,9 +84,9 @@ if ( ! class_exists( 'Translation_Entry', false ) ) : } /** - * Generates a unique key for this entry + * Generates a unique key for this entry. * - * @return string|bool the key or false if the entry is empty + * @return string|false The key or false if the entry is empty. */ public function key() { if ( null === $this->singular || '' === $this->singular ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index eeb950c1b3..085f7de242 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-beta3-53304'; +$wp_version = '6.0-beta3-53305'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.