Opened 6 years ago
Closed 6 years ago
#7617 closed defect (bug) (fixed)
refresh_blog_details is deprecated in WordPress 4.9
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.9.2 | Priority: | normal |
Severity: | normal | Version: | 2.3.0 |
Component: | Blogs | Keywords: | has-patch |
Cc: |
Description
Hi team !
I hope you are all doing great :) I just found a little notice error into the Blogs component due to the use of a deprecated hook in WordPress 4.9.
I think the attached patch is fixing the issue, as the very promising 3.0 release is due in 6 days, I suggest this ticket to be fixed before, if possible.
😗
Attachments (1)
Change History (9)
#3
@
6 years ago
Patch looks OK. There might be more places this needs fixing, particularly around the multisite abstraction layer.
#4
@
6 years ago
- Owner set to boonebgorges
- Resolution set to fixed
- Status changed from new to closed
In 11720:
#5
in reply to:
↑ 2
@
6 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Replying to DJPaul:
3.0 won't be out until after December.
WordPress 4.9 is scheduled for November 14th
Should this be included in a minor release, 2.9.2 for example?
Also reopening as the PHPDoc block here also needs updating from:
https://buddypress.trac.wordpress.org/browser/trunk/src/bp-blogs/bp-blogs-functions.php#L551
"Hooked to 'refresh_blog_details', which is notably used when editing a site under "Network Admin > Sites"."
Noticed this on Nouveaus github/travis checks for WP trunk tests throwing fails.