Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/13/2012 12:59:21 PM (12 years ago)
Author:
boonebgorges
Message:

Adds support for WP 3.4 theme functions. Fixes #4098

File:
1 edited

Legend:

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

    r5927 r5978  
    240240
    241241    // Get current theme info
    242     $ct = current_theme_info();
     242    // Backward-compatibility with WP < 3.4 will be removed in a future release
     243    if ( bp_get_major_wp_version() >= 3.4 ) {
     244        $ct = wp_get_theme();
     245    } else {
     246        $ct = current_theme_info();
     247    }
    243248
    244249    // The best way to remove this notice is to add a "buddypress" tag to
Note: See TracChangeset for help on using the changeset viewer.