Commit Graph

27 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 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
Andrew Nacin f5eb32ec6b Default themes: Don't use /** docblocks for simple multiline comments.
props DrewAPicture, ericlewis.
fixes #25256.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 20:39:09 +00:00
Lance Willett 6268f714e0 Twenty Ten: update code comments to reflect WP inline docs standards. Props DrewAPicture, closes #25256.
Built from https://develop.svn.wordpress.org/trunk@25627


git-svn-id: http://core.svn.wordpress.org/trunk@25544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-25 17:04:10 +00:00
nacin b0213b6af7 Make sure no output is sent in Twenty Ten before get_header(). fixes #13851.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 16:55:41 +00:00
ryan d83dcfc920 Fix typo. Props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 19:01:37 +00:00
nacin f713b87e31 In Twenty Ten, documentation and code improvements. see #12695.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 06:36:11 +00:00
nacin ff32a9aa28 Various minor tweaks to file-level phpdoc in Twentyten. props dremeda. see #12695.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 06:32:03 +00:00
nacin ff66f09ec9 @subpackage cannot have spaces.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 17:10:21 +00:00
nacin 61725ced93 Remove unnecessary and out-of-place Twenty Ten filter. Also, tabs not spaces. see #13198.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 06:26:18 +00:00
westi 5bcf419601 Add ARIA landmark roles to TwentyTen. Fixes #13055 props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 21:10:12 +00:00
nbachiyski 41d8837397 Various twentyten i18n fixes. Props zeo, dimadin. Fixes #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 20:30:58 +00:00
nacin a4c7fb5869 Rough cut of Twenty Ten inline documentation. see #12695. props jorbin, demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 22:03:15 +00:00
nacin 40773a776b Remove trailing whites and double semicolons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:36:49 +00:00
westi 1111996fe1 Switch to get_template_part Fixes #12371. Try on some narrative comments for size see #12695.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-25 22:04:27 +00:00
iammattthomas a70633cedc Coding standards cleanup in twentyten, see #9015. Props sivel
git-svn-id: http://svn.automattic.com/wordpress/trunk@13720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 20:17:22 +00:00
dd32 7b2c083769 Better internationalisation for TwentyTen. Props filosofo. Fixes #12384
git-svn-id: http://svn.automattic.com/wordpress/trunk@13498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 11:43:04 +00:00
dd32 c402ed54bb Remove Unneeded the_post/rewind_posts() calls, Add a "No posts for this archive" type message to the loop. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:41:15 +00:00
westi 067e66c8f6 Introduce new get_generic_template() function for themes to use to bring in pieces of template.
Use in twentyten for loop.php including. See #9015.

git-svn-id: http://svn.automattic.com/wordpress/trunk@13146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 09:32:23 +00:00
dd32 38a77b72cb Move the Loop into a separate file. Reduces code duplication and adds Gallery/Aside styling to all archive views. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 07:13:34 +00:00
dd32 f2799cb2e9 Formatting, Translations & Whitespace. Props ptahdunbar. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 01:00:22 +00:00
dd32 392ee06071 s/the_time()/get_the_date/ for dates. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 11:20:56 +00:00
dd32 cba1eb5db4 Remove extra get_option() calls (the functions default to that), Use the Media API for attachment image HTML, Replace deprecated function use(1.2~2.9 deprecated). See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 11:09:51 +00:00
ryan b235937bcc Escape some attributes. Fix search form action. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 20:28:13 +00:00
ryan c9d92fc859 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 18:02:23 +00:00
ryan 1fb181a4eb Twenty Ten initial import. Props Ian Stewart, Matt Thomas, and others. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 16:16:26 +00:00