Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Work around syntax error caused by the pot-to-php script #1427
This is an attempt to fix #1416 for the time being.
I still have to look into how the pot-to-php script handles comments exactly and how it can be solved. We likely don't need that script anymore in the long run though.
Also, I need to find some time to look into the WP-CLI command. It should be possible to skip the file comment entirely by using
@swissspidy the fix doesn't seem to be working:
<?php /* THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY. */ $generated_i18n_strings = array( /* translators: *//* */ , /* Plugin Name of the plugin */ __( 'AMP', 'amp' ),