Commit Graph

40 Commits

Author SHA1 Message Date
David A. Kennedy 187caf5d69 Adjust location of placeholder text 2017-06-09 16:24:18 -04:00
David A. Kennedy b408191a9c Tweak #1066 to fix build errors 2017-06-09 16:19:21 -04:00
David A. Kennedy 007f792515 Fix build errors related to #1066 2017-06-09 16:10:50 -04:00
David A. Kennedy 3aa7934d56 Merge pull request #1066 from yoavf/fix/edit-post-link-i18n
Prevent broken translations in some locales for the edit post link
2017-06-09 15:46:16 -04:00
jrfnl a65be48368 CS: Fix code layout of nested function calls with associative arrays. 2017-04-03 00:46:36 +02:00
jrfnl 8cefd8f258 I18n: ensure all text strings with placeholders have translators comments. 2017-04-03 00:46:24 +02:00
Yoav Farh 5a2f2893da santize translation 2017-01-03 20:27:16 +02:00
Yoav Farh 1f1def7496 update comment 2017-01-03 18:23:33 +02:00
Yoav Farh b3287e9b58 Make sure the translation of the post editing link doesn't break because of screen reader text 2017-01-03 18:14:17 +02:00
Bappi a37026d696 Remove period from file header 2016-09-27 12:15:42 +06:00
Bappi 609d43092a Remove period from file header 2016-09-27 12:15:28 +06:00
Bappi a88074380c Remove period from file header 2016-09-27 12:15:14 +06:00
Bappi d1fa937974 Remove period from file header 2016-09-27 12:14:57 +06:00
Konstantin Obenland ca2bfd6d8b Merge pull request #882 from byjml/patch-1
Use consistent syntax for control structures
2016-07-14 08:31:57 -07:00
Phoenix C. Enero ce8d6cc3ba Indent `.entry-footer` in `content.page.php` 2016-06-13 13:36:45 +08:00
Phoenix C. Enero 9d4675c7d6 Only show page footer if there's an edit link.
Checks the output of `get_edit_post_link()` before displaying the entry
footer.
2016-04-28 15:35:52 +08:00
byjml 944803c5d4 Use consistent syntax for control structures
Changed the opening brace to ':' (or colon) and the closing brace to `endif;`
2015-12-06 15:24:01 +03:00
Ulrich Pogson 60f7311f19 Add support for post formats in single post 2015-12-04 15:51:58 +01:00
sarah ✈ semark 193d073b84 Merge pull request #859 from jrfnl/feature/854-no-unncessary-php-tags
Avoid going in and out of PHP unnecessarily.
2015-12-03 20:13:49 +00:00
Serge Noskov 5865825670 Remove redundant empty new lines at the end of some files 2015-11-18 08:22:05 +02:00
jrfnl 8470f55f92 Avoid going in and out of PHP unnecessarily.
Closes #854

Includes minor alignment changes for easier readability/detection of start/end of conditions.
2015-11-11 22:59:40 +01:00
sarah ✈ semark b1b13f58d8 Merge pull request #775 from davidakennedy/editlinkposttitle
Add post title to `edit_post_link`
2015-09-16 19:58:22 +01:00
Grant Palin af0a4749be Update comparisons to resolve the strict comparison warnings. See https://github.com/Automattic/_s/issues/784 2015-08-07 09:59:26 -07:00
Konstantin Obenland 4b36cf3053 Merge pull request #781 from PJ-Finlay/add-documentation-in-comments
Updated file documentation.
2015-08-03 12:13:35 -07:00
David A. Kennedy 45f1ea884c Merge pull request #776 from mor10/new_heading_structure_redux
Change headings structure for better accessibility for assistive technology users.
2015-07-24 12:58:46 -04:00
PJ de9c9888b7 Updated documentation in comments at the top of files.
I tried to standardize and expand the documentation and links to
codex.wordpress.org in the comments at the top of most files.
2015-07-12 12:38:18 -04:00
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
Morten Rand-Hendriksen dc6d3fa08c New heading structure - redux of #651. Provides proper semantic structure for titles throughout theme:
In header.php: Site title set to H1 on front page, div on other pages
In functions.php: Widget title set to H2 for semantic hierarchy
In content-search.php and content.php: Heading set to H2 as page title is "Search" or "Archive title" etc.
2015-06-28 12:06:02 -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