Commit Graph

9 Commits

Author SHA1 Message Date
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
Lance Willett
4c0967bdf7 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
e0fac43f8d 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
0227278f26 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
70ffe26854 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
741876a148 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
nacin
edb6c96b9f Remove Twenty Twelve from 3.4. see #19978. see http://wp.me/pbNCB-yA.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 18:41:54 +00:00
matt
a577a1faf8 Initial import of the Twenty Twelve theme, by Drew Strojny. This time around we're trying something different than the previous twenty-something themes, a much more minimalist approach that affords easy use as a CMS in addition to being blog-forward. More information will be on wpdevel soon. Props drewstrojny and lancewillett.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 22:23:41 +00:00