Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/13/2012 09:36:57 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Remove pre-WordPress 3.4 compatibility checks from trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-update.php

    r6078 r6089  
    518518
    519519        $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();
    528521        $bp_themes         = array();
    529522
     
    547540
    548541        // 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();
    556543        $screenshot    = '';
    557544
Note: See TracChangeset for help on using the changeset viewer.