Commit Graph

906 Commits

Author SHA1 Message Date
Morten Rand-Hendriksen 955cd140f8 Added condition to include a hidden H1 on index when a page is set to front and the posts page is also set to a page as per suggestion by @davidakennedy 2015-07-02 13:51:04 -07:00
Emil Uzelac b685b89b3f Inline link update
I believe that we can update inline links to https://developer.wordpress.org. Please confirm.
2015-06-29 14:18:47 -05: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
Konstantin Obenland 5bb0534358 Merge pull request #770 from circlecube/patch-1
Update theme comment section so it will remain when compiled & compressed.
2015-06-19 10:28:34 +02:00
Evan Mullins e9c7d73be8 update theme comment section so it will remain when compiled & compressed 2015-06-18 15:26:01 -04:00
Fränk Klein 4e84c580a0 Merge pull request #763 from sagarjadhav/master
Updated Tagline markup as per W3C guidelines.
2015-06-18 12:53:55 +02:00
Fränk Klein 1001364d64 Merge pull request #767 from emiluzelac/patch-40
_s.pot update
2015-06-17 19:38:50 +02:00
Emil Uzelac 872952a8f6 _s.pot update
To reflect most recent changes such as `template-parts`.
2015-06-12 17:00:10 -05:00
Konstantin Obenland de11167fce Merge pull request #765 from emiluzelac/patch-39
Minor link update for languages.
2015-06-08 10:56:40 +02:00
Emil Uzelac ecdd9d0d45 Minor link update for languages
- http://codex.wordpress.org/WordPress_in_Your_Language now redirects to https://make.wordpress.org/polyglots/teams/
- http://codex.wordpress.org/Function_Reference/load_theme_textdomain has new (nicer) home https://developer.wordpress.org/reference/functions/load_theme_textdomain/
2015-06-07 17:46:19 -05:00
Sagar Jadhav 8d7f3b9c11 Updated Tagline markup as per WC3 guidelines. 2015-05-29 19:55:58 +05:30
Philip Arthur Moore 00e6610198 Merge pull request #762 from fklein-lu/fix/coding-standards-issues
Update theme against WordPress Coding Standards.
2015-05-28 20:28:19 +07:00
Fränk Klein 175524922c Fix Codesniffer errors. 2015-05-27 22:19:14 +02:00
Philip Arthur Moore b215eebe1e Merge pull request #750 from emiluzelac/patch-37
Update README.
2015-05-17 07:26:49 +07:00
Emil Uzelac 813f59c1b9 Minor GPL wording update
Minor GPL wording update to reflect `GPLv2 or later` what readme already does at the beginning :)
2015-05-16 19:24:32 -05:00
Tammie Lister 70bec13164 Merge pull request #744 from jamigibbs/master
Add a readme.txt file props @jamigibbs - thanks for your work on this.
2015-05-13 21:58:20 +01:00
Caroline Moore a8df8def5c Merge pull request #747 from Automattic/screen-reader-text-hover/active
Remove :hover and :active states on .screen-reader-text. Props @lancewillett
2015-05-13 16:35:40 -04:00
Caroline Moore 67b2428bbe Remove :hover and :active states on screen-reader-text
We should consider removing all CSS rules that provide `:hover` and `:active` pseudo element behavior for `screen-reader-text` elements.

In IE 10/11, the `screen-reader-text` element, normally hidden, pops up when you hover your mouse over it, obscuring content — the Archives Widget drop-down menu is a good example.

According to the latest from the core a11y team: ​https://make.wordpress.org/accessibility/2015/02/09/hiding-text-for-screen-readers-with-wordpress-core/ -- we only need the `:focus` pseudo element class.

Props to @lancewillett for figuring this out.
2015-05-13 15:30:37 -04:00
Jami Gibbs 4c4ff614e7 Adding Installation and refining sections
Updates based on the example by the “resonar” theme.
2015-05-12 19:57:18 -05:00
Fränk Klein ce796e39a5 Merge pull request #460 from grappler/content_width
Move $content_width within setup function
2015-05-11 10:05:26 +02:00
Philip Arthur Moore e771182347 Merge pull request #745 from fklein-lu/fix/travis-build-fails
Fix remaining coding standards errors.
2015-05-11 14:58:12 +07:00
Fränk Klein 2aef92e5a3 Fix remaining PHPCS errors:
* Add ignoring in template-tags.php and comments.php.
* Escape header text color in custom-header.php.
2015-05-11 09:18:36 +02:00
Jami Gibbs 0429313b64 Adding a readme.txt file 2015-05-10 15:19:16 -05:00
Jami Gibbs efcac9bbb7 Add a readme.txt file
This is based on the recommendation of the theme review team.

https://make.wordpress.org/themes/2015/04/29/a-revised-readme/

The goal is for a uniformly structured read file adopted by all theme
authors. Having the template ready in _s would speed up the adoption.
2015-05-10 14:14:33 -05:00
Konstantin Obenland 89602b2c3a Merge pull request #729 from grappler/license
Declare Underscores license.
2015-05-09 10:08:22 -07:00
Fränk Klein 347692110c Merge pull request #742 from andyjsaint/wp_kses
In the arguments passed to `the_content()`, whitelist the class attribute of the Read More link so that it passes through `wp_kses()`.
2015-05-08 11:56:21 +02:00
Andrew Saint 6094916a24 Allow the class attribute to pass through kses 2015-05-08 10:46:27 +01:00
Fränk Klein 86b81fe391 Escape translations in search.php
See #737.
2015-05-05 12:39:26 +02:00
Fränk Klein 2d86340f43 Escape translations in functions.php
See #737.
2015-05-05 12:38:55 +02:00
Fränk Klein 229d5e93da Escape translations in footer.php
See #737.
2015-05-05 12:38:12 +02:00
Fränk Klein 062105ac9d Escape translations on comments.php.
See #737.
2015-05-05 12:37:07 +02:00
Fränk Klein 89c2d8e4dc Escape translations on 404.php
See #737.
2015-05-05 12:34:08 +02: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 6fea1077d8 Escape translations in custom template tags.
See #737.
2015-05-05 12:16:55 +02:00
Fränk Klein ef1a884b6c Escape translation in title shim.
See #737.
2015-05-05 11:59:02 +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
Fränk Klein 7c92e3e138 Update Jetpack URLs to https
See #734.
2015-05-05 11:26:05 +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 1c7f560662 Better coding standards for theme header. See #737. 2015-04-29 08:58:07 +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
Philip Arthur Moore ff6337943b Better coding standards. See #737. 2015-04-29 08:32:11 +07:00
Philip Arthur Moore e4571763ec Update Travis CI Build Matrix now that WordPress 4.2 has been released. 2015-04-29 08:27:50 +07:00
Ulrich Pogson 8e1ec40b79 Move $content_width within a function 2015-04-25 08:47:20 +02:00
Ulrich Pogson 60d249b7c3 State licence of Underscores 2015-04-25 08:26:52 +02:00
Konstantin Obenland 68c56dcd79 Merge pull request #732 from emiluzelac/patch-36
Update localization link location.
2015-04-24 21:09:55 -05:00
Philip Arthur Moore 6f839cbbb0 Add whitespace rule exclusion into build checks. See #737. 2015-04-24 09:41:08 +07:00