Commit Graph

7 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
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 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