[wp-trac] [WordPress Trac] #40247: Fix the `site-details` cache not being set sometimes

WordPress Trac noreply at wordpress.org
Tue Mar 28 02:31:14 UTC 2017


#40247: Fix the `site-details` cache not being set sometimes
--------------------------------------+-------------------------
 Reporter:  flixos90                  |       Owner:  jeremyfelt
     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  |     Focuses:  multisite
--------------------------------------+-------------------------
Changes (by jeremyfelt):

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


Comment:

 In [changeset:"40344"]:
 {{{
 #!CommitTicketReference repository="" revision="40344"
 Multisite: Allow falsy properties to be cached in `site-details`.

 In previous iterations of `WP_Site`, there was concern that not all
 properties would be available when storing a site's details in cache. When
 introduced in [37918], an `ms_loaded` check was added to address this
 concern. Any properties that are still `false` after `ms_loaded` really
 are `false` and can be cached as such.

 Props flixos90.
 Fixes #40247.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40247#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list