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
{{ message }}
Repository navigation
Incorrect POT license info for themes without a license in the header #398
"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.
Activity
swissspidy commentedon Apr 26, 2024
Makes sense to me 👍 Are you interesting in writing a pull request for it? :)