Commit Graph

1254 Commits

Author SHA1 Message Date
Truong Giang 6e5adc24bb Trim white space in a blank line 2017-07-01 10:22:22 +07:00
Ulrich Pogson 9c0f5906c4 Merge pull request #1150 from ocean90/template-functions-comment
Update comment for template-functions.php include
2017-06-30 23:10:53 +02:00
Dominik Schilling fd89fb8a10 Update comment for template-functions.php include
Syncs the comment with the change in 7b8db5678f
2017-06-30 23:05:45 +02:00
Dmitry Mayorov 8e67439859 Add comment navigation template tags 2017-06-30 15:25:57 +05:00
Sami Keijonen ef422bc160 Add selective refresh for site title and description. (#1063)
Fixes #995.
2017-06-28 17:50:48 -04:00
Laurel 95e242d5c4 Merge pull request #1136 from Automattic/feature/add-logo-support
_s: Add basic custom logo support
2017-06-28 11:45:30 -07:00
laurelfulford afaa27411e Adding a Pull Request Template, to help make sure information is included with PRs. 2017-06-28 11:36:57 -07:00
David A. Kennedy 2bef512355 _s: Add basic custom logo support
See: https://codex.wordpress.org/Theme_Logo

Closes #922
2017-06-26 18:47:12 -04:00
David A. Kennedy f756b98df3 Merge branch 'master' of https://github.com/Automattic/_s 2017-06-26 16:06:15 -04:00
Ulrich Pogson c71baced96 Correct code indention (#1135) 2017-06-26 16:06:01 -04:00
David A. Kennedy ff294042b9 Merge branch 'master' of https://github.com/Automattic/_s 2017-06-26 16:04:15 -04:00
Laurel e25ab26c05 Merge pull request #1133 from Automattic/feature/remove-landmarks
Remove landmark roles
2017-06-26 12:59:15 -07:00
David A. Kennedy 5efec5e6b4 Remove call to `_s_categorized_blog()` (#1134)
* It was removed in #1131.
2017-06-23 13:16:37 -04:00
David A. Kennedy 078e3aecad Remove call to `_s_categorized_blog()`
* It was removed in #1131.
2017-06-23 13:07:33 -04:00
David A. Kennedy f56a070c2b Remove landmark roles
* With better browser support, these roles aren't needed now.
* Most newer browsers imply them via HTML5 semantics. See: http://html5doctor.com/on-html-belts-and-aria-braces/

Fixes #1132
2017-06-23 12:41:05 -04:00
Thomas Guillot d3ab4c0da4 _s: Add basic support for Content Options Post Details (#1131)
* _s: Add basic support for Content Options Post Details

This allows us to always display the category and author since it can
be hidden via Customizer -> Content Options

We don’t need to check for `is_multi_author` or `_s_categorized_blog()`
anymore.
2017-06-23 12:00:39 -04:00
David A. Kennedy 69e08e1e5b Merge pull request #1125 from jrfnl/feature/check-against-deprecated-wp-functions
WPCS: Verify that no deprecated or removed WP functions are being used.
2017-06-23 11:57:25 -04:00
David A. Kennedy 339aa37d30 Merge pull request #986 from josephfusco/refactor-sass
Add DRY gallery columns to Sass files.

Closes #986
2017-06-22 18:07:57 -04:00
Joseph Fusco ef6d0a100b Update style.css values to match Sass output 2017-06-19 22:39:46 -04:00
jrfnl e475309cd5 WPCS: Verify that no deprecated or removed WP functions are being used.
Ref: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties#minimum-wp-version-to-check-for-usage-of-deprecated-functions-and-function-parameters
2017-06-17 17:08:58 +02:00
David A. Kennedy 1f9ad8893d Merge pull request #1122 from jrfnl/feature/wpcs-allow-theme-specific-filenames
WPCS: Allow for typical theme specific file names based on the theme hierarchy
2017-06-17 16:27:58 +02:00
David A. Kennedy ab841b758b Merge pull request #1118 from jrfnl/feature/1064-move-function-back
Move pingback function back to the `template-functions` file.

Closes #1064
2017-06-17 16:10:13 +02:00
David A. Kennedy d90217c99b Merge pull request #1123 from arnabwahid/add-optgroup-in-typography
Add `optgroup` in typography.

Fixes #1068
2017-06-17 16:04:56 +02:00
Arnab Wahid a75211cab1 Add optgroup in Typography
Added 'optgroup' in #Typography via both -
- _typography.scss
&
- style.css
It fixes the odd styling of the select element.
2017-06-17 18:25:49 +06:00
jrfnl 7b8db5678f Move pingback function back to the `template-functions` file. 2017-06-16 01:17:42 +02:00
David A. Kennedy bce3197a42 Merge pull request #1121 from jrfnl/feature/fix-WPCS-url
PHPCS ruleset: Improve documentation links
2017-06-16 00:57:33 +02:00
jrfnl 755619e74d WPCS: Allow for typical theme specific file names based on the theme hierarchy.
Ref: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties#themes-allow-filename-exceptions
2017-06-16 00:53:50 +02:00
jrfnl b560425ff1 PHPCS ruleset: add link to the PHPCompatibility repo.
At the top of the ruleset there were links to the PHPCS and the WPCS repo, but not to the PHPCompatibility repo which is also being used.
2017-06-16 00:48:12 +02:00
jrfnl bc9d5f742e Fix link to WPCS in the PHPCS ruleset.
The link was pointing to the `WordPress-Core` ruleset, while `_s` uses the `WordPress` ruleset which encompasses more than just the core rules.

Pointing to the repo + the wiki seems more appropriate to me.
2017-06-16 00:48:11 +02:00
David A. Kennedy 67d6d59235 Merge branch 'feature/rename-phpcs-ruleset' 2017-06-16 00:39:39 +02:00
David A. Kennedy 23f963f322 Merge pull request #1115 from jrfnl/feature/check-correct-text-domain
Verify the text domain provided for all translatable strings for WPCS
2017-06-16 00:25:34 +02:00
David A. Kennedy fcf923ea44 Merge pull request #1119 from gatespace/pot-file-update
Regenerated the .pot file to be in line with recent code changes
2017-06-16 00:22:22 +02:00
David A. Kennedy aa0ae6c1b5 Merge pull request #1120 from JulienMelissas/patch-2
Add consistent formatting for skip-link-focus-fix.js
2017-06-16 00:13:51 +02:00
David A. Kennedy 379c999ae2 Merge pull request #1090 from kkalvaa/patch-1
Make sure dropdown menu container is always flush with the parent box regardless of the font size
2017-06-15 23:51:44 +02:00
Julien Melissas b51b81a311 Consistent formatting for skip-link-focus-fix.js
Just noticed the spacing on the other files and not this one... See https://github.com/Automattic/_s/blob/master/js/customizer.js#L9 and https://github.com/Automattic/_s/blob/master/js/customizer.js#L42
2017-06-15 14:28:19 +02:00
Kazue Igarashi 79a76a97c2 _s.pot file update.
* Update copyright year.
* Add comments for translators.
* Translation fix for a comment strings
* Added translation word by code change. see #1100, #1066 #1117
2017-06-15 21:01:23 +09:00
Joseph Fusco e72425f1c4 Add comment describing loop 2017-06-14 14:18:22 -04:00
David A. Kennedy 0f49e8a530 Merge pull request #1117 from Automattic/continue-reading-i18n
Improve "Continue reading" word order for internationalization.

Fixes #1088
2017-06-12 06:28:38 -04:00
Kristian Kalvå d814c78aa7 Create style.css 2017-06-12 12:27:32 +02:00
Naoko Takano (McCracken) ef2a0e7c00 Improve "Continue reading" word order for i18n
Resolves translation word order issue for some locales when the screen reader only text is invisible.
Fixes #1088
2017-06-12 16:08:10 +09:00
jrfnl 1bf6817e44 WPCS: verify the text domain provided for all translatable strings.
Ref: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties#internationalization-setting-your-text-domain
2017-06-12 01:41:31 +02:00
jrfnl b78d053772 PHPCS: Move the recommended command line arguments into the custom ruleset. 2017-06-12 00:21:34 +02:00
jrfnl 0d353e1c0c Rename the PHPCS ruleset.
If the file is called `phpcs.xml` or `phpcs.xml.dist`, it is automatically picked up by PHPCS.

A `phpcs.xml` is given preference over a `phpcs.xml.dist` file. So renaming the file to `phpcs.xml.dist` allows for people to use the file provided by `_s` if they choose not to add their own, but also leaves people the freedom to easily overrule it.
2017-06-12 00:11:53 +02:00
David A. Kennedy 59b66c7dd5 Merge pull request #1098 from iliman/patch-1
Update readme.txt to make tags consistent with style.css
2017-06-10 14:41:48 -04:00
Ilya cd88228bf3 Create readme.txt 2017-06-10 16:18:38 +04:00
David A. Kennedy ef5351227e Merge pull request #1001 from Clorith/master
Make the `content.php` more flexible with post types by using `is_singular()`
2017-06-10 01:26:55 -04:00
David A. Kennedy 7a04605a0b Remove invalid rel="designer" attribute
Refresh of #1016
Fixes #1020
2017-06-10 00:58:56 -04:00
David A. Kennedy 9b576d5852 Merge pull request #1060 from gatespace/license-add-sass
Add license and update Normalize site link to Sass file.
2017-06-10 00:49:10 -04:00
David A. Kennedy 3cad864383 Merge pull request #1081 from bahiirwa/master
Add new accessibility `word-wrap` styles to Sass files to match main stylesheet
2017-06-10 00:40:07 -04:00
David A. Kennedy 7320fe67a3 Merge pull request #1106 from vinoddalvi/master
Adding ID to comment labels for post articles
2017-06-10 00:29:24 -04:00