[wp-trac] [WordPress Trac] #36717: Allow to access network and site properties using the current naming conventions
WordPress Trac
noreply at wordpress.org
Thu Jun 9 01:07:40 UTC 2016
#36717: Allow to access network and site properties using the current naming
conventions
-------------------------------------+------------------------
Reporter: flixos90 | Owner: flixos90
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.6
Component: Networks and Sites | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: multisite
-------------------------------------+------------------------
Comment (by jeremyfelt):
Replying to [comment:23 dd32]:
> FWIW it turned out that also broke a bunch of other things, such as
editing network sites, and anything else that performed comparisons on
blog_id's.
It also broke the deprecated version of `wp_get_sites()`, which casts site
objects to `array` and in the process loses the private properties (which
become prefixed). [attachment:36717.5.diff] adds a shim and a test for
this scenario.
> It looks like #36935 will indeed fix the underlying cache issue,
although existing cached data will not be invalidated, which will be an
issue (If this change had invalidated that cache, it would've been fine).
Do we have options for invalidating the cache on update?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36717#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list