Ticket #4098: deprecated-fixes.patch
File deprecated-fixes.patch, 1.3 KB (added by , 13 years ago) |
---|
-
bp-core-functions.php
238 238 * Are you using a BP-compatible theme? 239 239 */ 240 240 241 // Get current theme info 242 $ct = current_theme_info();241 // Get current theme info via wp_get_theme() 242 $ct = wp_get_theme(); //current_theme_info(); 243 243 244 244 // The best way to remove this notice is to add a "buddypress" tag to 245 245 // your active theme's CSS header. -
bp-core-update.php
517 517 function step_theme() { 518 518 519 519 $installed_plugins = get_plugins(); 520 $installed_themes = get_themes();520 $installed_themes = wp_get_themes(); 521 521 $bp_themes = array(); 522 522 523 523 $template_pack_installed = false; … … 539 539 } 540 540 541 541 // Get theme screenshot 542 $current_theme = get_current_theme();542 $current_theme = wp_get_theme(); 543 543 $screenshot = ''; 544 $themes = get_themes();544 $themes = wp_get_theme(); 545 545 546 546 if ( !empty( $themes[$current_theme]['Screenshot'] ) ) { 547 547 $screenshot = trailingslashit( get_stylesheet_directory_uri() ) . $themes[$current_theme]['Screenshot'];