Skip to:
Content

BuddyPress.org

Changeset 11717


Ignore:
Timestamp:
10/24/2017 02:41:49 PM (8 years ago)
Author:
hnla
Message:

Register Nouveau package in core

Commit adds the Nouveau package array parts to 'bp_register_theme_packages()`.

Allows activation of the Nouveau theme files from the BP settings option screen.

See #7551

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/class-buddypress.php

    r11659 r11717  
    713713        ) );
    714714
     715        bp_register_theme_package( array(
     716            'id'      => 'nouveau',
     717            'name'    => __( 'BuddyPress Nouveau', 'buddypress' ),
     718            'version' => bp_get_version(),
     719            'dir'     => trailingslashit( $this->themes_dir . '/bp-nouveau' ),
     720            'url'     => trailingslashit( $this->themes_url . '/bp-nouveau' )
     721        ) );
     722
    715723        // Register the basic theme stack. This is really dope.
    716724        bp_register_template_stack( 'get_stylesheet_directory', 10 );
Note: See TracChangeset for help on using the changeset viewer.