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