Changeset 6089 for trunk/bp-core/admin/bp-core-update.php
- Timestamp:
- 06/13/2012 09:36:57 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/admin/bp-core-update.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-update.php
r6078 r6089 518 518 519 519 $installed_plugins = get_plugins(); 520 521 // Backward-compatibility with WP < 3.4 will be removed in a future release 522 if ( bp_get_major_wp_version() >= 3.4 ) { 523 $installed_themes = wp_get_themes(); 524 } else { 525 $installed_themes = get_themes(); 526 } 527 520 $installed_themes = get_themes(); 528 521 $bp_themes = array(); 529 522 … … 547 540 548 541 // Get theme screenshot 549 // Backward-compatibility with WP < 3.4 will be removed in a future release 550 if ( bp_get_major_wp_version() >= 3.4 ) { 551 $current_theme = wp_get_theme(); 552 } else { 553 $current_theme = get_current_theme(); 554 } 555 542 $current_theme = wp_get_theme(); 556 543 $screenshot = ''; 557 544
Note: See TracChangeset
for help on using the changeset viewer.