wp-includes/pomo/entry.php:54$argsarrayoptionalarray()$pluralstring
$translationsarray
$contextstring
$translator_commentsstring
$extracted_commentsstring
$referencesarray
$flagsarray
public function __construct( $args = array() ) { // If no singular -- empty object. if ( ! isset( $args['singular'] ) ) { return; } // Get member variable values from args hash. foreach ( $args as $varname => $value ) { $this->$varname = $value; } if ( isset( $args['plural'] ) && $args['plural'] ) { $this->is_plural = true; } if ( ! is_array( $this->translations ) ) { $this->translations = array(); } if ( ! is_array( $this->references ) ) { $this->references = array(); } if ( ! is_array( $this->flags ) ) { $this->flags = array(); } }Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/pomo/entry.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.