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/bp-core-wpabstraction.php

    r5977 r5978  
    1111// Exit if accessed directly
    1212if ( !defined( 'ABSPATH' ) ) exit;
     13
     14/**
     15 * Parse the WordPress core version number into the major release
     16 *
     17 * @since BuddyPress (1.5.2)
     18 * @global string $wp_version
     19 * @return string
     20 */
     21function bp_get_major_wp_version() {
     22    global $wp_version;
     23
     24    return (float) $wp_version;
     25}
    1326
    1427/**
Note: See TracChangeset for help on using the changeset viewer.