- Timestamp:
- 02/02/2024 09:05:43 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/l10n/class-wp-translation-file.php
r57518 r57519 248 248 * @return string Plural forms expression. 249 249 */ 250 protected function get_plural_expression_from_header( $header ){250 protected function get_plural_expression_from_header( string $header ): string { 251 251 if ( preg_match( '/^\s*nplurals\s*=\s*(\d+)\s*;\s+plural\s*=\s*(.+)$/', $header, $matches ) ) { 252 252 return trim( $matches[2] );
Note: See TracChangeset
for help on using the changeset viewer.