Commit Graph

8 Commits

Author SHA1 Message Date
giomba a2fd88033a updated after strasbourg incident 2021-05-09 10:03:35 +02:00
Gary Pendergast f7d8a35517 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 f9d0b32a36 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
Lance Willett 3517820811 Twenty Twelve: fix double featured images in Front Page Template, closes #22943.
git-svn-id: http://core.svn.wordpress.org/trunk@23561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 16:50:34 +00:00
Lance Willett f0b5fe60a7 Twenty Twelve: show featured image in single page views. Fixes #22943, props MikeHansenMe.
git-svn-id: http://core.svn.wordpress.org/trunk@23471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 16:07:28 +00:00
Lance Willett ace823cac9 Twenty Twelve: consistent indentation for content-* template files.
git-svn-id: http://core.svn.wordpress.org/trunk@22058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 15:20:52 +00:00
Lance Willett 8907b96a0d Twenty Twelve: review and clean up end-of-element HTML comments. Props obenland for starter patch. Closes #21675.
git-svn-id: http://core.svn.wordpress.org/trunk@21618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:16:56 +00:00
nacin 1dd45e6d6c The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.

also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.

see #19978.



git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 04:20:46 +00:00