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

buddypress-trac noreply at wordpress.org
Thu Sep 24 05:29:55 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 imath):

 @r-a-y

 Yes at the beginning I thought it was duplicating the job with it. But the
 function includes the version comparison and makes possible to check minor
 WP Version. Although new features mainly appears in major versions, there
 was a time just before WP 5.0 when WordPress was included new features in
 minor versions, eg: the GDPR/privacy ones.

 I've just refreshed the patch and use the `bp_is_running_wp()` function
 into some places.

 What about including it?

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


More information about the buddypress-trac mailing list