- Timestamp:
- 07/20/2018 08:29:17 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/buddypress-functions.php
r12156 r12192 97 97 add_action( 'admin_init', function() { 98 98 if ( defined( 'DOING_AJAX' ) && true === DOING_AJAX ) { 99 require $this->includes_dir . 'ajax.php';99 require bp_nouveau()->includes_dir . 'ajax.php'; 100 100 } 101 101 }, 0 ); … … 104 104 add_action( 'bp_customize_register', function() { 105 105 if ( bp_is_root_blog() && current_user_can( 'customize' ) ) { 106 require $this->includes_dir . 'customizer.php';106 require bp_nouveau()->includes_dir . 'customizer.php'; 107 107 } 108 108 }, 0 );
Note: See TracChangeset
for help on using the changeset viewer.