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

Fix rtrim trailingslashit literal. #22

Merged
merged 1 commit into from
Jul 18, 2017
Merged

Conversation

gitlost
Copy link
Contributor

@gitlost gitlost commented Jul 18, 2017

Fix mangled rtrim() literal introduced by me in #21. (Amazingly '/\//' does actually work as PHP just leaves unprocessed anything backslashed in a single quoted string except backslash and single quote!)

Adds test for WP_CLI_STRICT_ARGS_MODE case but not for non-WP_CLI_STRICT_ARGS_MODE case as it doesn't cater for backslash (yet - should introduce and use Utils\trailingslashit() on it in Runner::set_wp_path() I think).

Makes some of the stderr checks more explicit.

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

Successfully merging this pull request may close these issues.

2 participants