Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/13/2012 08:46:17 PM (12 years ago)
Author:
johnjamesjacoby
Message:

WP Version Check:

  • Fixes missing notifications menu.
  • Fixes missing groups menu.
  • Correctly compares floats as numbers.
  • Fix non-yoda comparisons.
  • Fixes #4255 (1.5 branch)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/bp-themes/bp-default/functions.php

    r5979 r6086  
    8484    // This theme allows users to set a custom background
    8585    // Backward-compatibility with WP < 3.4 will be removed in a future release
    86     if ( bp_get_major_wp_version() >= 3.4 ) {
     86    if ( 3.4 <= bp_get_major_wp_version() ) {
    8787        $custom_background_args = array(
    8888            'wp-head-callback' => 'bp_dtheme_custom_background_style'
     
    108108        // Add a way for the custom header to be styled in the admin panel that controls custom headers.
    109109        // Backward-compatibility with WP < 3.4 will be removed in a future release
    110         if ( bp_get_major_wp_version() >= 3.4 ) {
     110        if ( 3.4 <= bp_get_major_wp_version() ) {
    111111            $custom_header_args = array(
    112112                'wp-head-callback' => 'bp_dtheme_header_style',
Note: See TracChangeset for help on using the changeset viewer.