Ticket #55640: translation-entry-key-doc.diff
File translation-entry-key-doc.diff, 545 bytes (added by , 3 years ago) |
---|
-
src/wp-includes/pomo/entry.php
diff --git a/src/wp-includes/pomo/entry.php b/src/wp-includes/pomo/entry.php index 0e53bc1afd..c24c6c7147 100644
a b if ( ! class_exists( 'Translation_Entry', false ) ) : 86 86 /** 87 87 * Generates a unique key for this entry 88 88 * 89 * @return string| boolthe key or false if the entry is empty89 * @return string|false the key or false if the entry is empty 90 90 */ 91 91 public function key() { 92 92 if ( null === $this->singular || '' === $this->singular ) {