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
28a8f31ffa
Coding Standards: Add missing translator comments.
...
Twentys Eleven, Sixteen, and Seventeen now have translator comments for all their strings.
Also, WPCS now doesn't show missing translator comment warnings for test files.
See #47632 .
Built from https://develop.svn.wordpress.org/trunk@45604
git-svn-id: http://core.svn.wordpress.org/trunk@45415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-07-05 08:04:57 +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
Lance Willett
25d1363a66
Twenty Eleven: update code comments to reflect WP inline docs standards. Props DrewAPicture, see #25256 .
...
Built from https://develop.svn.wordpress.org/trunk@25625
git-svn-id: http://core.svn.wordpress.org/trunk@25542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-25 16:50:11 +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
Lance Willett
9886963778
Twenty Eleven: escape i18n attributes as late as possible, props mfields. See #21756 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@22199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-11 21:30:42 +00:00
lancewillett
1f592e5cef
Twenty Eleven: fix typo, s/#entry-meta/.entry-meta/ props zeo. See #21418 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 19:45:58 +00:00
nacin
0d9f4a7495
Twenty Eleven: Don't call comments_popup_link() if post_password_required(). That'll result in double password messages. props helenyhou, fixes #17962 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 17:58:43 +00:00
azaozz
312d573006
Fix typo in 2011, props AndrewFrazier, fixes #17989 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-05 21:59:43 +00:00
azaozz
1a50d6ee95
Simplify some Twenty-Eleven strings for i18n, props nbachiyski, fixes #17777
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 20:24:23 +00:00
azaozz
d41f756348
TwentyEleven Theme H1 Priority, props iandstewart, fixes #17611
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-23 23:03:46 +00:00
dd32
ee1bb15914
Consistently wrap the "Pages:" text in <span> tags, Combine the 2 identical translations for the Pages text (one with, and one without, span tags). See #17744
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 15:14:24 +00:00
dd32
640fe9ad62
Remove the few post_type == post checks on Post Format templates, Post formats only apply to posts. See #17748
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 07:14:59 +00:00
azaozz
3a29a3d893
Twenty Eleven code review and cleanup, props dd32, fixes #17748
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:01:16 +00:00
nacin
53cd4287e1
Twenty Eleven: escaping frenzy, hide authors if a single author blog. props DH-Shredder, props iandstewart, see #17385 , fixes #17563 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 21:57:18 +00:00
azaozz
853d1ab1a2
Implement rel="author" in Twenty Eleven and Twenty Ten, props joostdevalk, fixes #17722
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 02:02:09 +00:00
iandstewart
b8ef6fbbdf
Twenty Eleven: prevent notices in taxonomy archives using custom post types; Props mfields; Fixes #17566
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 01:30:18 +00:00
iandstewart
ef03662627
Twenty Eleven: make categories and tags i18n friendly; Props dimadin; Fixes #17531
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 15:19:33 +00:00
nacin
7f98b9beaf
Fix Twenty Eleven phpdoc subpackage names. props zeo, fixes #17444 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 19:06:09 +00:00
nacin
7f16795c70
the_excerpt() doesn't take an argument. props coffee2code. fixes #17489 . see #13883 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 17:26:40 +00:00
lancewillett
c5b106de63
Twenty Eleven fixes, props matveb - see #17198
...
- Add padding to the menu when the search input is in menu bar
- Improve search input behavior when located in menu bar (also props ocean90)
- i18n for post formats headings (also props nickbohle)
- Small style fix for images
git-svn-id: http://svn.automattic.com/wordpress/trunk@17845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-09 22:08:05 +00:00
lancewillett
32fd5672a4
Twenty Eleven fixes - see #17198
...
* RTL tweaks and fixes
* Misc style fixes
* Fix tags output, comment links, and remove trailing spaces from translatable strings
git-svn-id: http://svn.automattic.com/wordpress/trunk@17791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 00:45:50 +00:00
iandstewart
c3d51112c2
Twenty Eleven: Post Format headings and CSS cleanup; See #17198 props matveb
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-02 21:11:32 +00:00