Commit Graph

13 Commits

Author SHA1 Message Date
David A. Kennedy 78147d4055 Merge branch 'master' of https://github.com/Automattic/_s into editlinkposttitle 2015-07-02 17:44:10 -04:00
David A. Kennedy 0a0e5c631f Add post title to `edit_post_link`
* Use `__()` instead of `_x()`
* Add translator comment, remove context modifier.
* Remove escaping on `the_title()`; it's trusted data.

Resolves: #774
2015-07-02 17:37:30 -04:00
Konstantin Obenland b5777c0d7e Move translator comment closer to string.
Translator comments should be placed directly in the line above the string to be translated, in order for parser to pick it up.
2015-07-02 14:21:17 -07:00
David A. Kennedy c60811bf94 Add post title to `edit_post_link`
This improves the accessibility of these links, and gives more context for screen reader users. Now, they know exactly where the link goes.

Escaped output with `esc_html_x` and `wp_kses`.

Resolves: #774
2015-06-26 14:22:38 -04:00
Fränk Klein 175524922c Fix Codesniffer errors. 2015-05-27 22:19:14 +02:00
Andrew Saint 6094916a24 Allow the class attribute to pass through kses 2015-05-08 10:46:27 +01:00
Fränk Klein d35cef0e7d Escape translations in content-single.php
See #737.
2015-05-05 12:28:37 +02:00
Fränk Klein 032e14d241 Escape translations in content-page.php
See #737.
2015-05-05 12:27:52 +02:00
Fränk Klein 4be6dbec04 Secure translations in content.php.
See #737.
2015-05-05 12:26:56 +02:00
Fränk Klein d5db6f11b5 Secure translations in content.php.
See #737.
2015-05-05 12:26:14 +02:00
Fränk Klein a7ad622e4c Don't use `esc_html__()` on translation containing HTML.
Use `wp_kses()` instead, whitelisting the only HTML the string can
contain.
2015-05-05 11:53:29 +02:00
Philip Arthur Moore 7dfe5408f0 Better coding standards for no content template. See #737. 2015-04-29 09:04:41 +07:00
Philip Arthur Moore 71d4231cbe Move template parts into their own dedicated folder and update Infinite Scroll to reflect this change. See #642. Props @leopuleo. 2015-04-29 08:42:12 +07:00