[wp-trac] [WordPress Trac] #20793: Illegal string offset 'public' in wpmu_create_blog()
WordPress Trac
noreply at wordpress.org
Tue Aug 13 19:27:17 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 |
--------------------------+------------------
Changes (by jeremyfelt):
* component: Warnings/Notices => Multisite
* milestone: Future Release => 3.7
Comment:
Just ran into this. `wpmu_create_blog()` implies that the `meta` parameter
is optional, both in the `@param` documentation and by setting the default
of an empty string. If the array key for public is not set, a notice is
thrown.
[attachment:20793.2.diff] is a refresh of @duck_'s patch, which accounts
for a missing `public` key and addresses some code formatting.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20793#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list