generator-wp-make icon indicating copy to clipboard operation
generator-wp-make copied to clipboard

Error if the user has not entered a Project Root PHP Namespace in the set-up prompt

Open mimikim opened this issue 8 years ago • 0 comments

On the master branch, if the user runs yo wp-make:theme and breezes through the set-up prompt, everything else is set to a default value except for the root namespace.

We should either enable a default value in the setup conditional statement, or run a check to make sure opts.root_namespace is not empty before generating the php, otherwise we have a random errant backslash causing errors

wp-make-bug

mimikim avatar May 04 '17 14:05 mimikim