[wp-trac] [WordPress Trac] #40458: Cannot retrieve custom site details values
WordPress Trac
noreply at wordpress.org
Wed Apr 19 18:51:26 UTC 2017
#40458: Cannot retrieve custom site details values
---------------------------------------------+------------------------
Reporter: ocean90 | Owner: ocean90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.8
Component: Networks and Sites | Version: 4.6
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: multisite
---------------------------------------------+------------------------
Changes (by ocean90):
* owner: => ocean90
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"40478"]:
{{{
#!CommitTicketReference repository="" revision="40478"
Multisite: After [37918] add support for retrieving custom site properties
set by the `site_details` filter.
The behaviour was previously possible with the `blog_details` filter and
`get_blog_details()` function. The former is deprecated since [38936].
This change adjusts the magic methods of `WP_Site` to also check if `$key`
exists in `WP_Site::get_details()`.
Fixes #40458.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40458#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list