Ticket #7307: 7307.01.patch
File 7307.01.patch, 2.5 KB (added by , 8 years ago) |
---|
-
src/bp-blogs/bp-blogs-template.php
1077 1077 if ( !is_subdomain_install() ) 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() ) { 1083 1083 print '(<strong>' . __( 'Your address will be ' , 'buddypress'); -
src/bp-core/bp-core-adminbar.php
67 67 if ( ! bp_use_wp_admin_bar() ) { 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 ); 72 77 -
src/bp-core/classes/class-bp-admin.php
382 382 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' ); 387 392 }