- Timestamp:
- 02/22/2017 05:54:26 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-template.php
r11381 r11442 1078 1078 echo '<span class="prefix_address">' . $current_site->domain . $current_site->path . '</span> <input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="63" /><br />'; 1079 1079 else 1080 echo '<input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="63" ' . bp_get_form_field_attributes( 'blogname' ) . '/> <span class="suffix_address">.' . bp_ blogs_get_subdomain_base() . '</span><br />';1080 echo '<input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="63" ' . bp_get_form_field_attributes( 'blogname' ) . '/> <span class="suffix_address">.' . bp_signup_get_subdomain_base() . '</span><br />'; 1081 1081 1082 1082 if ( !is_user_logged_in() ) { -
trunk/src/bp-core/bp-core-adminbar.php
r10825 r11442 68 68 _doing_it_wrong( __FUNCTION__, __( 'The BuddyBar is no longer supported. Please migrate to the WordPress toolbar as soon as possible.', 'buddypress' ), '2.1.0' ); 69 69 70 // Load deprecated code if not available. 71 if ( ! function_exists( 'bp_core_admin_bar' ) ) { 72 require buddypress()->plugin_dir . 'bp-core/deprecated/2.1.php'; 73 } 74 70 75 // Keep the WP Toolbar from loading. 71 76 show_admin_bar( false ); -
trunk/src/bp-core/classes/class-bp-admin.php
r11425 r11442 383 383 // Only show 'switch to Toolbar' option if the user chose to retain the BuddyBar during the 1.6 upgrade. 384 384 if ( (bool) bp_get_option( '_bp_force_buddybar', false ) ) { 385 // Load deprecated code if not available. 386 if ( ! function_exists( 'bp_admin_setting_callback_force_buddybar' ) ) { 387 require buddypress()->plugin_dir . 'bp-core/deprecated/2.1.php'; 388 } 389 385 390 add_settings_field( '_bp_force_buddybar', __( 'Toolbar', 'buddypress' ), 'bp_admin_setting_callback_force_buddybar', 'buddypress', 'bp_main' ); 386 391 register_setting( 'buddypress', '_bp_force_buddybar', 'bp_admin_sanitize_callback_force_buddybar' );
Note: See TracChangeset
for help on using the changeset viewer.