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
I'm working on bundling this package as the engine for node-wp-i18n (which is used by grunt-wp-i18n), but am running into a few failing tests due to slight differences in the way they work.
WordPress supports themes that are in a subdirectory of the theme root directory, but this command doesn't detect style.css files that aren't in the theme root and doesn't include a way to specify where to find the main file with the package metadata.
There could potentially be multiple nested themes in a themes in a theme directory, which would pose a problem for automatically detecting the correct theme when running wp i18n from the theme root, but the most common use case is to use the root directory for development and config related files, with style.css and templates in a subdirectory. This structure can be found in the Make theme, Sage, and WP Rig.
Here's the issue in node-wp-i18n where support was requested and added.
The text was updated successfully, but these errors were encountered:
I'm working on bundling this package as the engine for node-wp-i18n (which is used by grunt-wp-i18n), but am running into a few failing tests due to slight differences in the way they work.
WordPress supports themes that are in a subdirectory of the theme root directory, but this command doesn't detect
style.css
files that aren't in the theme root and doesn't include a way to specify where to find the main file with the package metadata.There could potentially be multiple nested themes in a themes in a theme directory, which would pose a problem for automatically detecting the correct theme when running
wp i18n
from the theme root, but the most common use case is to use the root directory for development and config related files, withstyle.css
and templates in a subdirectory. This structure can be found in the Make theme, Sage, and WP Rig.Here's the issue in node-wp-i18n where support was requested and added.
The text was updated successfully, but these errors were encountered: