wp-cli / i18n-command

Provides internationalization tools for WordPress projects.
MIT License
96 stars 52 forks source link

Add more headers to php translation files #388

Closed swissspidy closed 5 months ago

swissspidy commented 5 months ago

Besides a little code cleanup this mainly expands the allowlist of headers added to the .l10n.php files.

This is relevant for https://github.com/WordPress/wordpress-develop/pull/6129 and the WordPress.org updates API which looks at headers such as po-revision-date to see if an update is available.

swissspidy commented 5 months ago

@wp-cli/committers would appreciate a review/approval here.