Commit Graph

1189 Commits

Author SHA1 Message Date
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
David A. Kennedy 606e1135dd Merge pull request #1093 from B-07/patch-2
Make doctype lowercase for better consistency with other HTML tags
2017-06-09 23:02:24 -04:00
David A. Kennedy c6d64b63fc Merge pull request #1112 from davidakennedy/master
Fix build errors related to #1066
2017-06-09 16:33:12 -04:00
David A. Kennedy 4d66f92ea4 Merge branch 'master' of github.com:davidakennedy/_s 2017-06-09 16:30:19 -04:00
David A. Kennedy 1e9b0c686e Fix build errors related to #1066
Tweak #1066 to fix build errors

Adjust location of placeholder text
2017-06-09 16:29:17 -04:00
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
Ilya 94bbb1cbf7 Remove tags 2017-06-09 23:47:31 +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
David A. Kennedy ba3966924f Merge pull request #1078 from mtomas7/patch-1
Allow category display in post preview even when only one category
2017-06-09 15:36:46 -04:00
David A. Kennedy df40a3da23 Update README.md to be consistent with new file name
See #1064
2017-06-09 15:22:15 -04:00
David A. Kennedy bfa0b9a024 Merge pull request #1111 from grappler/feature/1064-extras
Replace extras.php with template-functions.php to make the file name more useful

Fixes #1064
2017-06-09 15:17:42 -04:00
David A. Kennedy cc7ca98ab4 Merge pull request #1034 from joshmcrty/master
Update .site-title styles instead of anchor in customizer script.

Closes #990
2017-06-09 15:00:38 -04:00
Ulrich Pogson 118dc76631 Replace extras.php with template-functions.php
fixes #1064
2017-06-09 20:37:13 +02:00
David A. Kennedy 458a207fe5 Update WordPress version and copyright date 2017-06-09 12:32:15 -04:00