[wp-trac] [WordPress Trac] #41936: get_main_site_id ignores custom values of $current_site->blog_id
WordPress Trac
noreply at wordpress.org
Tue Oct 10 17:33:34 UTC 2017
#41936: get_main_site_id ignores custom values of $current_site->blog_id
---------------------------------------------+-----------------------------
Reporter: spacedmonkey | Owner: flixos90
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.9
Component: Networks and Sites | Version: trunk
Severity: normal | Resolution:
Keywords: has-unit-tests has-patch commit | Focuses: multisite,
| performance
---------------------------------------------+-----------------------------
Changes (by jeremyfelt):
* keywords: has-unit-tests has-patch => has-unit-tests has-patch commit
Comment:
[attachment:41936.6.diff] looks good! I made one small change to the tests
in [attachment:41936.7.diff] and removed the pre filter each time it was
used to avoid possible cross-test pollution.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41936#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list