Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parent_dir contains a normalized path whereas WP_CONTENT_DIR contains a relative path. By running the WP_CONTENT_DIR through realpath we get a path we can actually compare between the target dir and where we want to place the new theme. Also fixes wp-cli#251
- Loading branch information