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

split escaping and translating #112

Merged
merged 1 commit into from
Feb 6, 2017
Merged

split escaping and translating #112

merged 1 commit into from
Feb 6, 2017

Conversation

websupporter
Copy link
Contributor

Solves #81

To solve the problem, I consequently did split up the escaping from the translating. The translation now does not use esc_html__() no more but __().

During the printing process, instead of trying to translate the variable with esc_html__() we just make sure the variable gets escaped.

@websupporter websupporter added this to the 2.7.0 milestone Feb 5, 2017
@schlessera schlessera merged commit 75e8571 into master Feb 6, 2017
@schlessera schlessera deleted the issue-81 branch February 6, 2017 11:41
schlessera pushed a commit that referenced this pull request Feb 10, 2017
* a little bit brighter

* a little bit brighter

* Update styles.css

* Update styles.min.css

* select[multiple] adjustment

* select[multiple] adjustment

* Update styles.css

* Update styles.min.css

* Update styles.css

* Update styles.min.css

* Update styles.css

* Update styles.css

* Update styles.min.css

* Update styles.css

* Update styles.min.css

* Update styles.css

* Update styles.min.css

* some cleanup

* some cleanup

* Update styles.css

* Update styles.css

* Update styles.min.css

* Update styles.css

* Update styles.min.css

* Update styles.min.css

* Update styles.css

* Update styles.min.css

* make spam reasons translateable

* rename regexp to regular expression

* Fixed last lable issues

Labels and <select> elements are friends again. fixes #114
Minor CSS changes have been reverted to ensure consisten behaviour across viewports and devices.

* add the .travis.yml (#118)

* add the .travis.yml

* uncomment 5.2 - 5.4, remove hhvm, uncomment nightly

* split escaping and translating (#112)

* some cleaning (#113)

* use a more generic term for DNSBL

* add __() stub for tests

* make spam reasons translateable

* rename regexp to regular expression

* use a more generic term for DNSBL

* add __() stub for tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants