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

buddypress-trac noreply at wordpress.org
Thu Sep 24 20:46:47 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):

 I'm okay with this.

 There are also various spots where we check for the existence of a
 WordPress function from a specific WP version such as
 `wp_switch_roles_and_user()`. Perhaps we could switch those out with the
 WP version where the function was introduced?

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


More information about the buddypress-trac mailing list