Skip to:
Content

BuddyPress.org

Changeset 6537 for trunk/bp-loader.php


Ignore:
Timestamp:
11/29/2012 09:15:07 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Theme Compat:

  • Literal merge of template stack code from bbPress 2.2.
  • See #4656.
  • Does not include additional bp_template_stack_add_custom_locations() function in attached patch. This needs more testing.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-loader.php

    r6509 r6537  
    539539     */
    540540    public function register_theme_packages() {
     541
     542        // Register the default theme compatibility package
    541543        bp_register_theme_package( array(
    542544            'id'      => 'legacy',
     
    546548            'url'     => trailingslashit( $this->themes_url . '/bp-legacy' )
    547549        ) );
     550
     551        // Register the basic theme stack. This is really dope.
     552        bp_register_template_stack( 'get_stylesheet_directory', 10 );
     553        bp_register_template_stack( 'get_template_directory',   12 );
     554        bp_register_template_stack( 'bp_get_theme_compat_dir',  14 );
    548555    }
    549556
Note: See TracChangeset for help on using the changeset viewer.