[wp-trac] [WordPress Trac] #45749: Add short circuits for multisite classes.

WordPress Trac noreply at wordpress.org
Fri Mar 22 17:00:13 UTC 2019


#45749: Add short circuits for multisite classes.
--------------------------------+------------------------------
 Reporter:  spacedmonkey        |       Owner:  adamsilverstein
     Type:  enhancement         |      Status:  assigned
 Priority:  normal              |   Milestone:  5.2
Component:  Networks and Sites  |     Version:  4.6
 Severity:  normal              |  Resolution:
 Keywords:  has-patch commit    |     Focuses:  multisite
--------------------------------+------------------------------

Comment (by adamsilverstein):

 [attachment:"45749.9.diff"] - trying to simplify this a bit:

 * uses local vs class variables for $network_ids and $site_ids
 * removes unrelated whitespace changes except those fixable by `phpcbf`

 viewing the diff with whitespace changes disabled the changes are now very
 small - https://cl.ly/e61374e40f16 (or view here and turn off whitespace
 changes under diff settings:https://github.com/WordPress/wordpress-
 develop/pull/49/files)

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


More information about the wp-trac mailing list