Changeset 5978 for trunk/bp-core/bp-core-wpabstraction.php
- Timestamp:
- 04/13/2012 12:59:21 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-wpabstraction.php
r5977 r5978 11 11 // Exit if accessed directly 12 12 if ( !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 */ 21 function bp_get_major_wp_version() { 22 global $wp_version; 23 24 return (float) $wp_version; 25 } 13 26 14 27 /**
Note: See TracChangeset
for help on using the changeset viewer.