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

Trim whitespace around string-based customizer values when manipulating/using them in the theme #61

Open
cjg89 opened this issue May 14, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@cjg89
Copy link
Member

cjg89 commented May 14, 2019

Description

See title

Why it's Important

It'd be nice if simple string-based values were trimmed before being echo-ed or otherwise used throughout the theme, to help avoid issues with leading or ending spaces around copy+pasted analytics IDs for example.

Alternatives

n/a

Possible Implementation

trim() all the things

Additional context

n/a

@cjg89 cjg89 added the enhancement New feature or request label May 14, 2019
@cjg89 cjg89 added this to the backlog milestone May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants