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-groups/bp-groups-adminbar.php

    r5958 r6086  
    5050        return false;
    5151
    52     if ( '3.2' == bp_get_major_wp_version() ) {
     52    if ( 3.2 == bp_get_major_wp_version() ) {
    5353
    5454        // Group avatar
     
    7272        ) );
    7373
    74     } elseif ( '3.3' == bp_get_major_wp_version() ) {
     74    } elseif ( 3.3 <= bp_get_major_wp_version() ) {
    7575       
    7676        // Unique ID for the 'My Account' menu
Note: See TracChangeset for help on using the changeset viewer.