[wp-trac] [WordPress Trac] #46029: upgrade_500_was_gutenberg_active is not tested with multisite

WordPress Trac noreply at wordpress.org
Fri Jan 18 05:50:31 UTC 2019

#46029: upgrade_500_was_gutenberg_active is not tested with multisite
 Reporter:  manfcarlo        |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  5.0
 Severity:  normal           |   Keywords:
  Focuses:  multisite        |
 When setting the value of upgrade_500_was_gutenberg_active,
 update_site_option is used. When retrieving the value, get_option is used.

 This means that the gutenberg message can not be displayed on multisite.

 Furthermore, if there are more than one network, the site option is only
 stored for whichever network is responsible for updating wordpress,
 meaning that other networks do not get the site option.

 I'm not sure what the solution should be, considering that gutenberg might
 have been active on some sites but not others. But storing a site option
 that never gets retrieved seems pointless.

Ticket URL: <https://core.trac.wordpress.org/ticket/46029>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list