Opened 14 years ago
Closed 14 years ago
#2997 closed defect (bug) (fixed)
wp-includes/registration.php is deprecated in WP 3.1
Reported by: | DJPaul | Owned by: | nacin |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | Version: | ||
Component: | Core | Keywords: | has-patch |
Cc: |
Description
Create a wrapper function to retain compatibility with 3.0.
Attachments (1)
Change History (7)
#2
@
14 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Going to supply an alternative patch for this.
#4
@
14 years ago
- Keywords has-patch added
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.
(In [3661]) Don't include wp-includes/registration.php if on WordPress 3.1. Fixes #2997