You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Copyright (C) %1\$s %2\$s\nThis file is distributed under the %3\$s.",
Describe how other contributors can replicate this bug
Scenario: Wrong license information is displayed for the theme
Given an empty foo-theme directory
And a foo-theme/style.css file:
"""
/*
Theme Name: Foo Theme
*/
"""
When I run `wp i18n make-pot foo-theme foo-theme.pot`
Then the foo-theme.pot file should contain:
"""
# This file is distributed under the .
"""
Describe what you would expect as the correct outcome
To see the This file is distributed under the same license as the X theme.
Bug Report
Describe the current, buggy behavior
If in a Theme Header (
style.css
) theLicense
is not added, when I generate the POT file, I see theThis file is distributed under the .
i18n-command/src/MakePotCommand.php
Line 907 in e29d181
Describe how other contributors can replicate this bug
Describe what you would expect as the correct outcome
To see the
This file is distributed under the same license as the X theme.
i18n-command/src/MakePotCommand.php
Line 915 in e29d181
Let us know what environment you are running this on
Provide additional context/Screenshots
There was PR that fixed this for the plugins #199
The text was updated successfully, but these errors were encountered: