Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/22/2012 05:24:36 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Theme Compat:

  • Put back 'bp_register_theme_directory' sub action, hooked to 'bp_loaded'
  • Move register_theme_directory() back into BuddyPress root class method.
  • Introduces old_themes_dir variable, which will get deprecated when we remove bp-default from core.
  • Create 'bp-templates' root folder, for theme-compat templates to live in, and not conflict with 'bp-themes'.
  • Fixes issue where 'bp-legacy' would show up as "Broken" in Appearance > Themes.
  • Brute-force switch from bp-default to WP_DEFAULT_THEME on deactivation, and update theme roots, to fix issue when deactivating BuddyPress while theme stack relies on bp-default.
  • See #3741
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-dependency.php

    r6342 r6436  
    127127
    128128/**
     129 * The main action used registering theme directory
     130 *
     131 * @since BuddyPress (1.5)
     132 * @uses do_action()
     133 */
     134function bp_register_theme_directory() {
     135    do_action( 'bp_register_theme_directory' );
     136}
     137
     138/**
    129139 * The main action used registering theme packages
    130140 *
Note: See TracChangeset for help on using the changeset viewer.