WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22252


Ignore:
Timestamp:
10/22/2012 03:25:18 AM (6 years ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22252 – Description

    initial v1  
    2121* wp-includes/theme.php:719 calls switch_theme()
    2222* wp-includes/theme.php 682 counts $wp_theme_directories, and skips the roots.
    23 * This results in the _root options pointing to 'wp-content/plugins/buddypress/bp-themes', and the current stylesheet and template being set as 'twentyeleven'.
     23* This results in the _root options pointing to /plugins/buddypress/bp-themes', and the current stylesheet and template being set as 'twentytwelve'.
    2424* If you re-activate !BuddyPress, $wp_theme_directories will now be greater than 1, and the _root options will not get updated.
    2525----