Changes between Version 1 and Version 2 of Ticket #22252
- Timestamp:
- 10/22/2012 03:30:08 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22252 – Description
v1 v2 1 1 '''Problem:''' 2 2 3 It's possible for the active theme and it's roots to become out of sync when performing a specific set of actions, resulting in the site white-screening because of the active theme directory being incorrect. 3 4 … … 21 22 * wp-includes/theme.php:719 calls switch_theme() 22 23 * wp-includes/theme.php 682 counts $wp_theme_directories, and skips the roots. 23 * This results in the _root options pointing to /plugins/buddypress/bp-themes', and the current stylesheet and template being set as 'twentytwelve'.24 * This results in the _root options pointing to '/plugins/buddypress/bp-themes', and the current stylesheet and template being set as 'twentytwelve'. 24 25 * If you re-activate !BuddyPress, $wp_theme_directories will now be greater than 1, and the _root options will not get updated. 25 26 ----