[buddypress-trac] [BuddyPress] #2997: wp-includes/registration.php is deprecated in WP 3.1

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Jan 6 00:02:55 UTC 2011


#2997: wp-includes/registration.php is deprecated in WP 3.1
---------------------+-----------------------
  Reporter:  DJPaul  |      Owner:  nacin
      Type:  defect  |     Status:  accepted
  Priority:  normal  |  Milestone:  1.3
 Component:  Core    |    Version:
Resolution:          |   Keywords:  has-patch
---------------------+-----------------------
Changes (by nacin):

 * keywords:   => has-patch


Comment:

 Two problems: One, this doesn't work, due to the lack of version_compare.
 Two, it's better to do feature detection (which you can later just drop
 when you drop support for 3.0). Three, after searching for
 registration.php functions, I found places that registration.php was being
 included apparently unnecessarily. Patch attached. Needs a test, as I'm
 doing this without an install of BuddyPress trunk actually active.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2997#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list