[buddypress-trac] [BuddyPress Trac] #7906: Helper function for checking WP version

buddypress-trac noreply at wordpress.org
Wed Sep 23 23:20:28 UTC 2020


#7906: Helper function for checking WP version
------------------------------------+---------------------
 Reporter:  boonebgorges            |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  7.0.0
Component:  Core                    |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+---------------------

Comment (by r-a-y):

 Just to note that we already have a function to fetch the current WP
 version to one decimal point, `bp_get_major_wp_version()`:
 https://buddypress.trac.wordpress.org/browser/tags/6.3.0/src/bp-core/bp-
 core-wpabstraction.php#L19

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7906#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list