[buddypress-trac] [BuddyPress Trac] #7326: `get_blog_details()` will be deprecated in WordPress 4.8

buddypress-trac noreply at wordpress.org
Mon Nov 28 13:03:56 UTC 2016

#7326: `get_blog_details()` will be deprecated in WordPress 4.8
 Reporter:  netweb            |       Owner:  djpaul
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  2.8
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  needs-patch       |
Changes (by djpaul):

 * owner:   => djpaul
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"11254"]:
 #!CommitTicketReference repository="" revision="11254"
 Tests: rely on WP Core's version of `go_to()`.

 Our version of `go_to()` is very messy, and since we copied it a few years
 ago, it has been refactored in WordPress.
 We can remove the duplication which makes for a cleaner method, and rely
 on the upstream version.

 This also helps avoid false positives in tools that check for use of
 deprecated WordPress functions.
 There was a conditional block in the old `go_to()` that was for
 compatibility with WordPress <3.9.

 Fixes #7326

 Props netweb, DJPaul

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7326#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list