Opened 15 years ago
Closed 15 years ago
#2997 closed defect (bug) (fixed)
wp-includes/registration.php is deprecated in WP 3.1
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| 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
@
15 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Going to supply an alternative patch for this.
#4
@
15 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.
Note: See
TracTickets for help on using
tickets.
(In [3661]) Don't include wp-includes/registration.php if on WordPress 3.1. Fixes #2997