Commit Graph

11 Commits

Author SHA1 Message Date
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
Dominik Schilling
61819a36ea Customizer: Change instances of "Theme Customizer" to just "Customizer", as the Customizer isn't necessarily theme-specific.
Also capitalize "Customizer".
See also https://make.wordpress.org/core/2014/07/08/customizer-improvements-in-4-0/.

props studionashvegas, tareq1988.
fixes #29947.
Built from https://develop.svn.wordpress.org/trunk@29903


git-svn-id: http://core.svn.wordpress.org/trunk@29658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-15 17:21:19 +00:00
Lance Willett
4305c85fb2 Twenty Thirteen: remove doc block comments for @return void. See #27098.
Built from https://develop.svn.wordpress.org/trunk@27598


git-svn-id: http://core.svn.wordpress.org/trunk@27441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 22:48:29 +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
38c19a5fde Twenty Thirteen: improve backward compatibility escape hatch for pre-3.6 versions:
* Switch to the built-in method of providing a back link in `wp_die()` for the Customizer
 * Use WP_DEFAULT_THEME for both arguments during theme switching to simplify the logic
 * Prevent the 3.3 and earlier theme preview action gracefully

Props obenland for patches, fixes #24441.

git-svn-id: http://core.svn.wordpress.org/trunk@24411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 00:22:09 +00:00
Lance Willett
f35f74f092 Twenty Thirteen: PHPDoc improvements for back-compat file, props DrewAPicture. Fixes #24363.
git-svn-id: http://core.svn.wordpress.org/trunk@24307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 22:16:20 +00:00
Andrew Nacin
87aba933fb Twenty Thirteen: Use WP_Theme's methods, rather than legacy properties.
git-svn-id: http://core.svn.wordpress.org/trunk@24030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 17:10:47 +00:00
Lance Willett
de99720c5d Twenty Thirteen: back compat file PHPDoc updates, thanks DrewAPicture for the nudge. See #23819.
git-svn-id: http://core.svn.wordpress.org/trunk@23838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 06:53:45 +00:00
Lance Willett
b78b4965e2 Twenty Thirteen: better back compat handling by moving version compare before the include to avoid loading the file altogether. Also prevent Customizer views. Props obenland, closes #23819.
git-svn-id: http://core.svn.wordpress.org/trunk@23837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 06:45:56 +00:00
Lance Willett
98ad41b582 Twenty Thirteen: change version compare string to "3.6-alpha" to avoid an error for alpha and beta testers during development. See #23819, props kovshenin.
git-svn-id: http://core.svn.wordpress.org/trunk@23825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 20:36:19 +00:00
Lance Willett
ef85b45754 Twenty Thirteen: add back-compat function to avoid activation with older WordPress installs. Props kovshenin, see #23819 and #13780.
git-svn-id: http://core.svn.wordpress.org/trunk@23816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 17:06:19 +00:00