Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/31/2012 05:02:02 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Theme Compatibility:

  • Clean up bbpress-functions.php for Twenty Ten and Default theme packages.
  • Simplify bbp_register_theme_package() to accept an array or a BBP_Theme_Compat object.
  • Update bbPress::register_theme_packages() to use new style above.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-themes/bbp-twentyten/bbpress-functions.php

    r3849 r3928  
    6262        $this->dir     = trailingslashit( $bbp->themes_dir . 'bbp-twentyten' );
    6363        $this->url     = trailingslashit( $bbp->themes_url . 'bbp-twentyten' );
    64 
    65         // Conditionally add theme support if needed
    66         if ( in_array( $this->id, array( get_template(), get_stylesheet() ) ) ) {
    67             add_theme_support( 'bbpress' );
    68         }
    6964    }
    7065
Note: See TracChangeset for help on using the changeset viewer.