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
This commit is contained in:
parent
2334cea3e9
commit
8e29ebbc16
|
@ -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() {
|
public function key() {
|
||||||
if ( null === $this->singular || '' === $this->singular ) {
|
if ( null === $this->singular || '' === $this->singular ) {
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue