Make WordPress Core

Ticket #55640: translation-entry-key-doc.diff

File translation-entry-key-doc.diff, 545 bytes (added by manooweb, 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 ) ) : 
    8686                /**
    8787                 * Generates a unique key for this entry
    8888                 *
    89                  * @return string|bool the key or false if the entry is empty
     89                 * @return string|false the key or false if the entry is empty
    9090                 */
    9191                public function key() {
    9292                        if ( null === $this->singular || '' === $this->singular ) {