Changeset 51919 for trunk/src/wp-includes/pomo/entry.php
- Timestamp:
- 10/18/2021 05:51:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pomo/entry.php
r49184 r51919 41 41 * - flags (array) -- flags like php-format 42 42 */ 43 function __construct( $args = array() ) {43 public function __construct( $args = array() ) { 44 44 // If no singular -- empty object. 45 45 if ( ! isset( $args['singular'] ) ) { … … 81 81 * @return string|bool the key or false if the entry is empty 82 82 */ 83 function key() {83 public function key() { 84 84 if ( null === $this->singular || '' === $this->singular ) { 85 85 return false; … … 97 97 * @param object $other 98 98 */ 99 function merge_with( &$other ) {99 public function merge_with( &$other ) { 100 100 $this->flags = array_unique( array_merge( $this->flags, $other->flags ) ); 101 101 $this->references = array_unique( array_merge( $this->references, $other->references ) );
Note: See TracChangeset
for help on using the changeset viewer.