Changeset 3927 for branches/plugin/bbpress.php
- Timestamp:
- 05/31/2012 04:30:09 AM (14 years ago)
- File:
-
- 1 edited
-
branches/plugin/bbpress.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbpress.php
r3920 r3927 533 533 /** Default Theme *****************************************************/ 534 534 535 $theme = new BBP_Theme_Compat(); 536 $theme->id = 'default'; 537 $theme->name = __( 'bbPress Default', 'bbpress' ); 538 $theme->version = bbp_get_version(); 539 $theme->dir = trailingslashit( $this->plugin_dir . 'bbp-theme-compat' ); 540 $theme->url = trailingslashit( $this->plugin_url . 'bbp-theme-compat' ); 541 542 bbp_register_theme_package( $theme ); 543 544 /** Default Theme *****************************************************/ 545 546 $theme = new BBP_Theme_Compat(); 547 $theme->id = 'bbp-twentyten'; 548 $theme->name = __( 'Twenty Ten (bbPress)', 'bbpress' ) ; 549 $theme->version = bbp_get_version(); 550 $theme->dir = trailingslashit( $this->themes_dir . 'bbp-twentyten' ); 551 $theme->url = trailingslashit( $this->themes_url . 'bbp-twentyten' ); 552 553 bbp_register_theme_package( $theme ); 535 bbp_register_theme_package( new BBP_Theme_Compat( array( 536 'id' => 'default', 537 'name' => __( 'bbPress Default', 'bbpress' ), 538 'version' => bbp_get_version(), 539 'dir' => trailingslashit( $this->plugin_dir . 'bbp-theme-compat' ), 540 'url' => trailingslashit( $this->plugin_url . 'bbp-theme-compat' ) 541 ) ) ); 542 543 /** Twenty Ten ********************************************************/ 544 545 bbp_register_theme_package( new BBP_Theme_Compat( array( 546 'id' => 'bbp-twentyten', 547 'name' => __( 'Twenty Ten (bbPress)', 'bbpress' ), 548 'version' => bbp_get_version(), 549 'dir' => trailingslashit( $this->themes_dir . 'bbp-twentyten' ), 550 'url' => trailingslashit( $this->themes_url . 'bbp-twentyten' ) 551 ) ) ); 554 552 } 555 553
Note: See TracChangeset
for help on using the changeset viewer.