Sergey Biryukov
1f85e7484f
Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards.
...
See #50768 .
Built from https://develop.svn.wordpress.org/trunk@48782
git-svn-id: http://core.svn.wordpress.org/trunk@48544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-11 00:34:08 +00:00
Sergey Biryukov
30e0cf9fcd
Docs: Bundled Themes: Correct DocBlock placement for custom header and background argument filters.
...
See #49572 .
Built from https://develop.svn.wordpress.org/trunk@48264
git-svn-id: http://core.svn.wordpress.org/trunk@48033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-01 13:52:01 +00:00
Sergey Biryukov
001ffe81fb
Docs: Improve inline comments per the documentation standards.
...
Includes minor code layout fixes for better readability.
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47122
git-svn-id: http://core.svn.wordpress.org/trunk@46922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 00:45:18 +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
Konstantin Obenland
ae2cafe1e1
Twenty Fifteen: Display sidebar background color with Header Image.
...
If the header image has a transparent background, the sidebar background color
should be visible. With the `background` shorthand it could never be over set
on the front-end however.
Props valendesigns.
Fixes #31460 .
Built from https://develop.svn.wordpress.org/trunk@33092
git-svn-id: http://core.svn.wordpress.org/trunk@33063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-06 17:27:26 +00:00
Dominik Schilling
6f937df4e5
Twenty Fifteen: Use dynamic default color value instead of hardcoded color.
...
props iamtakashi.
see #30733 .
Built from https://develop.svn.wordpress.org/trunk@30932
git-svn-id: http://core.svn.wordpress.org/trunk@30921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:35:23 +00:00
Ian Stewart
65ed77974b
Twenty Fifteen: minor file cleanup.
...
Props iamtakashi, fixes #30653 .
Built from https://develop.svn.wordpress.org/trunk@30806
git-svn-id: http://core.svn.wordpress.org/trunk@30796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 13:39:24 +00:00
Ian Stewart
e11418abdc
Twenty Fifteen: docs correction and cleanup.
...
Props DrewAPicture, see #30149 .
Built from https://develop.svn.wordpress.org/trunk@30569
git-svn-id: http://core.svn.wordpress.org/trunk@30559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-25 20:57:24 +00:00
Ian Stewart
cb2dcb9820
Twenty Fifteen: remove unneeded custom header admin callbacks.
...
Props philiparthurmoore, fixes #30432 .
Built from https://develop.svn.wordpress.org/trunk@30567
git-svn-id: http://core.svn.wordpress.org/trunk@30556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-25 15:12:22 +00:00
Ian Stewart
45343aa5d2
Twenty Fifteen: a shorter header on small screens when there is no header text or header image looks more correct.
...
Props iamtakashi, fixes #30326 .
Built from https://develop.svn.wordpress.org/trunk@30564
git-svn-id: http://core.svn.wordpress.org/trunk@30553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-25 14:47:22 +00:00
Dominik Schilling
120cb5e6ef
Improve keyboard accessibility on Custom Header and Custom Background screen.
...
props florianziegler.
fixes #29289 .
Built from https://develop.svn.wordpress.org/trunk@30327
git-svn-id: http://core.svn.wordpress.org/trunk@30326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-13 12:00:57 +00:00
Ian Stewart
17dbe26df9
Twenty Fifteen: Simplify the header, sidebar, background controls and make customization faster for users to do. This has the added benefit of fixing our bug where hidden header text wasn't being updated on color scheme switch. Nice.
...
Props celloexpressions, iamtakashi, fixes #30164 and #29980 .
Built from https://develop.svn.wordpress.org/trunk@30230
git-svn-id: http://core.svn.wordpress.org/trunk@30230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-04 18:42:22 +00:00
Ian Stewart
7dfb040dde
Twenty Fifteen: check if user-selected custom colors are the same as default so we're not duplicating styles.
...
Props iamtakashi, fixes #30234
Built from https://develop.svn.wordpress.org/trunk@30221
git-svn-id: http://core.svn.wordpress.org/trunk@30221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-03 21:59:22 +00:00
Ian Stewart
a46c99cf78
Twenty Fifteen: make it clear that a link is a link in post and comment meta by underlining it on hover or focus
...
Props morganestes, iamtakashi, fixes #30108
Built from https://develop.svn.wordpress.org/trunk@30208
git-svn-id: http://core.svn.wordpress.org/trunk@30208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-03 17:01:23 +00:00
Lance Willett
85d3601ef6
Twenty Fifteen: only escape HTML attribute output with `esc_attr()`. See #30133 , props ocean90.
...
Built from https://develop.svn.wordpress.org/trunk@30081
git-svn-id: http://core.svn.wordpress.org/trunk@30081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 23:08:23 +00:00
Lance Willett
d583c5ecfc
Twenty Fifteen: escape variable in HTML attribute output in customer header. See #30133 .
...
Built from https://develop.svn.wordpress.org/trunk@30044
git-svn-id: http://core.svn.wordpress.org/trunk@30044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 16:25:18 +00:00
Ian Stewart
affa411402
Importing Twenty Fifteen, first pass at our new default theme for 2015, set for 4.1.
...
It's good for posts, it's good for pages, it might be good for you. Development will occur in trunk. Have at it.
Props matt, iandstewart, iamtakashi, obenland, cainm, kristastevens, karmatosed, chellycat, lancewillett, kwight, davidakennedy. See #29799
Built from https://develop.svn.wordpress.org/trunk@29892
git-svn-id: http://core.svn.wordpress.org/trunk@29648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-14 19:28:18 +00:00