Changeset 6558 for trunk/bp-core/bp-core-cssjs.php
- Timestamp:
- 12/04/2012 12:16:42 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-cssjs.php
r6342 r6558 4 4 5 5 function bp_core_confirmation_js() { 6 global $wpdb;7 6 8 if ( is_multisite() && $wpdb->blogid != bp_get_root_blog_id() )7 if ( is_multisite() && ! bp_is_root_blog() ) 9 8 return false; 10 9 … … 19 18 <?php 20 19 } 21 add_action( 'wp_head', 'bp_core_confirmation_js', 100 ); 20 add_action( 'wp_head', 'bp_core_confirmation_js', 100 ); 21 add_action( 'admin_head', 'bp_core_confirmation_js', 100 ); 22 22 23 23 /**
Note: See TracChangeset
for help on using the changeset viewer.