[wp-trac] [WordPress Trac] #20793: Illegal string offset 'public' in wpmu_create_blog()
WordPress Trac
noreply at wordpress.org
Sun Aug 25 00:48:19 UTC 2013
#20793: Illegal string offset 'public' in wpmu_create_blog()
--------------------------+------------------
Reporter: duck_ | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.7
Component: Multisite | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by SergeyBiryukov):
[attachment:20793.3.diff] is a slightly different take:
* Does not modify `$meta`.
* Replaces multiple comparisons with a single `in_array()` check. The
comparisons are probably a tiny bit faster, but I don't think they're for
performance reasons here. Introduced in
[http://mu.trac.wordpress.org/changeset/1364 mu:1364].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20793#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list