Gary Pendergast
56c162fbc9
Coding Standards: Upgrade WPCS to 1.0.0
...
WPCS 1.0.0 includes a bunch of new auto-fixers, which drops the number of coding standards issues across WordPress significantly. Prior to running the auto-fixers, there were 15,312 issues detected. With this commit, we now drop to 4,769 issues.
This change includes three notable additions:
- Multiline function calls must now put each parameter on a new line.
- Auto-formatting files is now part of the `grunt precommit` script.
- Auto-fixable coding standards issues will now cause Travis failures.
Fixes #44600 .
Built from https://develop.svn.wordpress.org/trunk@43571
git-svn-id: http://core.svn.wordpress.org/trunk@43400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-08-17 01:51:36 +00:00
Gary Pendergast
aaf99e6913
Code is Poetry.
...
WordPress' code just... wasn't.
This is now dealt with.
Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057 .
Built from https://develop.svn.wordpress.org/trunk@42343
git-svn-id: http://core.svn.wordpress.org/trunk@42172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-30 23:11:00 +00:00
John Blackbourn
64fb3e7175
In Twenty Fourteen, move the "Continue Reading" arrows back inside the translatable strings so they can be localised.
...
See #30641
Built from https://develop.svn.wordpress.org/trunk@30796
git-svn-id: http://core.svn.wordpress.org/trunk@30786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-09 18:57:24 +00:00
Lance Willett
f398bd07ce
Twenty Fourteen: replace ellipses appended to automatically generated excerpts with both ellipses and a "Continue Reading" link to meet accessibility-ready requirements.
...
Props davidakennedy, lancewillett. Fixes #30176 .
Built from https://develop.svn.wordpress.org/trunk@30389
git-svn-id: http://core.svn.wordpress.org/trunk@30386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-19 18:27:22 +00:00
Lance Willett
2291d479af
Twenty Fourteen: simplify tags output in content templates, props nacin. See #26093 .
...
Built from https://develop.svn.wordpress.org/trunk@26258
git-svn-id: http://core.svn.wordpress.org/trunk@26164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 22:48:10 +00:00
Lance Willett
0f8be808ff
Twenty Fourteen: fix case of featured posts `has_tag()` check that was adding an empty `footer` element. See #25868 , props iamtakashi.
...
Built from https://develop.svn.wordpress.org/trunk@26048
git-svn-id: http://core.svn.wordpress.org/trunk@25973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-08 05:54:10 +00:00
Lance Willett
26c7409f9c
Twenty Fourteen: clean up inconsistencies in content template files. Props iamtakashi, fixes #25868 .
...
Built from https://develop.svn.wordpress.org/trunk@26036
git-svn-id: http://core.svn.wordpress.org/trunk@25965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-07 19:05:09 +00:00
Lance Willett
c1b0fa9039
Twenty Fourteen: add Audio post format support. Props celloexpressions, closes #25807 .
...
Built from https://develop.svn.wordpress.org/trunk@26020
git-svn-id: http://core.svn.wordpress.org/trunk@25951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 21:52:09 +00:00