Commit Graph

24 Commits

Author SHA1 Message Date
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
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