Commit Graph

13 Commits

Author SHA1 Message Date
Sergey Biryukov
e199663322 I18N: Capitalize translator comments consistently, add trailing punctuation.
Includes minor code layout fixes.

See #44360.
Built from https://develop.svn.wordpress.org/trunk@45932


git-svn-id: http://core.svn.wordpress.org/trunk@45743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-03 00:41:05 +00:00
Gary Pendergast
c71bc1513e Coding Standards: Add missing translator comments to the default themes.
All default themes now have translator comments for all strings with placeholders!

See #46732.

Built from https://develop.svn.wordpress.org/trunk@45609


git-svn-id: http://core.svn.wordpress.org/trunk@45420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-07-09 01:10:00 +00:00
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
e9f7c78d38 In Twenty Thirteen, 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@30795


git-svn-id: http://core.svn.wordpress.org/trunk@30785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-09 18:56:22 +00:00
Lance Willett
bbdafdc925 Twenty Thirteen: replace ellipses appended to automatically generated excerpts with both ellipses and a "Continue Reading" link to meet accessibility-ready requirements.
Props davidakennedy, lancewillett. Fixes #30178.
Built from https://develop.svn.wordpress.org/trunk@30390


git-svn-id: http://core.svn.wordpress.org/trunk@30387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-19 18:35:21 +00:00
Lance Willett
d373d0982b Twenty Thirteen: update code comments to reflect WP inline docs standards. Props DrewAPicture, see #25256.
Built from https://develop.svn.wordpress.org/trunk@25522


git-svn-id: http://core.svn.wordpress.org/trunk@25442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-20 19:34:10 +00:00
Lance Willett
ff9e60e3e6 Twenty Thirteen: remove all post_format_*() and the_remaining_content() function calls, reverting to the_content(). Simplify functions.php, JS, and CSS files accordingly. Props obenland for starter patch, fixes #24469 and #24407. See #24452.
git-svn-id: http://core.svn.wordpress.org/trunk@24391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-31 17:45:00 +00:00
Lance Willett
a738cc3c83 Bundled themes: remove the_title_attribute() title attributes where it duplicates the_title() in anchor text. Props nacin, fixes #24203.
git-svn-id: http://core.svn.wordpress.org/trunk@24131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 16:57:30 +00:00
Mark Jaquith
15dc5a3718 Standardize the post format theme API functions with the_post_format_THING() and get_the_post_format_THING().
fixes #23927

git-svn-id: http://core.svn.wordpress.org/trunk@23899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 08:09:02 +00:00
Mark Jaquith
816618be68 Rename the_extra_content() to the_remaining_content().
fixes #23877.

git-svn-id: http://core.svn.wordpress.org/trunk@23836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 05:59:18 +00:00
Lance Willett
bb2b6fd418 Twenty Thirteen: add support and styling for Audio structured post format. Moves audio content out from the main post content, using the_audio() and the_extra_content(). Props obenland, fixes #23871.
git-svn-id: http://core.svn.wordpress.org/trunk@23828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 22:08:16 +00:00
Mark Jaquith
d1d3076d5a Introduce the Twenty Thirteen theme.
props matt, joen, obenland, lancewillett. see #23504

git-svn-id: http://core.svn.wordpress.org/trunk@23452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-18 23:08:56 +00:00