Commit Graph

792 Commits

Author SHA1 Message Date
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
Philip Arthur Moore 66d350aa3c Get rid of coding standards errors in the 404 page template by making sure that potentially unsafe output is escaped. See #737. 2015-04-24 09:39:05 +07:00
Philip Arthur Moore 171e1d10b2 Exclude whitespace rules from coding standards checks. See #737. 2015-04-24 09:08:26 +07:00
Philip Arthur Moore 2c21cdb7ae Kick off better coding standards sweep. See #737 2015-04-24 09:05:33 +07:00
Philip Arthur Moore ea8c6f41a8 Travis CI builds are failing. Remove all coding standards exclusions so that we're able to generate a useful, actionable report on which to base fixes to the build failures. 2015-04-24 08:36:23 +07:00
Emil Uzelac 92403d9d49 Localization link
Minor change with the new localization URL.
2015-04-17 13:58:15 -05:00
sixhours 3bc2eeda4f _s: Mobile-first toggle menu.
Reverse media queries to use min-width instead of max-width, taking a
mobile-first approach to the navigation menu. It displays as the
default, and disappears at widths above 600px.

Fixes #579.
2015-04-07 15:33:28 -07:00
Konstantin Obenland b1e67446f3 Merge branch 'pr/540' 2015-04-07 13:11:00 -07:00
Christopher Crouch 18f843ed03 _s: Tabbable dropdown menus.
Fixes #540.
2015-04-07 13:09:00 -07:00
Philip Arthur Moore a4d2204396 Merge pull request #690 from corvannoorloos/master
Update travis.yml to adhere to coding style used in WordPress' CI file.
2015-04-07 17:30:35 +07:00
Konstantin Obenland f0ec361d52 Merge remote-tracking branch 'origin/master' 2015-04-03 14:39:57 -07:00
Konstantin Obenland b7f4a02e89 Merge branch 'pr/722'
Fixes #722.
2015-04-03 14:39:31 -07:00
Konstantin Obenland c5ec554e95 Merge branch 'pr/722' 2015-04-03 14:37:59 -07:00