Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update "wp scaffold child-theme" to support the latest theme functions. #226

Open
sachyya opened this issue Jun 2, 2019 · 1 comment
Open

Comments

@sachyya
Copy link

sachyya commented Jun 2, 2019

Feature Request

Describe your use case and the problem you are facing
wp scaffold child-theme creates the child theme with the old theme functions like get_template_directory_uri. It would be better if this command supports new functions like get_theme_file_uri which is introduced in 4.7.

Also the theme slug created in functions.php created by the command should have slug of the child theme rather than the parent theme.

Describe the solution you'd like

The command should be updated such that it supports the latest theme functions with backward compatibility.

@sachyya
Copy link
Author

sachyya commented Jun 2, 2019

#227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants