Commit Graph

15 Commits

Author SHA1 Message Date
Lance Willett 5e6dbe3de0 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: https://develop.svn.wordpress.org/trunk@24411 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 00:22:09 +00:00
Lance Willett cf17f45099 Twenty Thirteen: PHPDoc improvements for back-compat file, props DrewAPicture. Fixes #24363.
git-svn-id: https://develop.svn.wordpress.org/trunk@24307 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 22:16:20 +00:00
Lance Willett 736f2bb495 Twenty Thirteen: remove `hgroup` from the theme markup structure since it's been dropped from HTML5 spec. Props obenland for the starter patch. Fixes #24114.
git-svn-id: https://develop.svn.wordpress.org/trunk@24072 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-23 17:55:55 +00:00
Andrew Nacin bd7837e30e Add .displaying-header-text to the default themes, as the Custom Header page toggles this class. props obenland, fixes #24113.
git-svn-id: https://develop.svn.wordpress.org/trunk@24050 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 19:40:28 +00:00
Andrew Nacin 71e9178bea Twenty Thirteen: Use WP_Theme's methods, rather than legacy properties.
git-svn-id: https://develop.svn.wordpress.org/trunk@24030 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 17:10:47 +00:00
Lance Willett c6612a2597 Bundled themes: add identifier to `style` elements added by the theme. Fixes #24033.
git-svn-id: https://develop.svn.wordpress.org/trunk@24001 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 17:18:30 +00:00
Lance Willett 3579782a0e Twenty Thirteen: back compat file PHPDoc updates, thanks DrewAPicture for the nudge. See #23819.
git-svn-id: https://develop.svn.wordpress.org/trunk@23838 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 06:53:45 +00:00
Lance Willett d8b58a167d 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: https://develop.svn.wordpress.org/trunk@23837 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 06:45:56 +00:00
Lance Willett 2d018dd75e 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: https://develop.svn.wordpress.org/trunk@23825 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 20:36:19 +00:00
Lance Willett 0496ad8fd8 Twenty Thirteen: add back-compat function to avoid activation with older WordPress installs. Props kovshenin, see #23819 and #13780.
git-svn-id: https://develop.svn.wordpress.org/trunk@23816 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 17:06:19 +00:00
Lance Willett b7ff0b27e9 Twenty Thirteen: fix toggling header text display in Customizer. Props obenland, fixes #23722.
git-svn-id: https://develop.svn.wordpress.org/trunk@23670 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 16:52:30 +00:00
Lance Willett 2be4925f70 Twenty Thirteen: remove redundant `esc_url()` calls, props SergeyBiryukov, fixes #23663.
git-svn-id: https://develop.svn.wordpress.org/trunk@23642 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 17:18:02 +00:00
Lance Willett 6db8b40209 Twenty Thirteen: CSS fixes to change single to double quotes, proper quoting around font-family names, and add a missing escape to a background image in custom-header.php. Props markmcwilliams, fixes #23653.
git-svn-id: https://develop.svn.wordpress.org/trunk@23557 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 16:40:29 +00:00
Lance Willett fb4ae83cc5 Twenty Thirteen: header area with no site title or tagline should still be clickable to home. Fixes #23549.
Fix also removes several `!important` flags that aren't necessary, relating to header text color.

git-svn-id: https://develop.svn.wordpress.org/trunk@23492 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-26 04:50:09 +00:00
Mark Jaquith a279913a2e Introduce the Twenty Thirteen theme.
props matt, joen, obenland, lancewillett. see #23504

git-svn-id: https://develop.svn.wordpress.org/trunk@23452 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-18 23:08:56 +00:00