[wp-trac] [WordPress Trac] #22420: Bookmarks/links Illegal string offset.
WordPress Trac
noreply at wordpress.org
Mon Nov 12 19:40:16 UTC 2012
#22420: Bookmarks/links Illegal string offset.
--------------------------+--------------------
Reporter: pross | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: |
--------------------------+--------------------
Comment (by nacin):
Replying to [comment:3 bpetty]:
> I wonder if it would be better to change the ```$args``` parameter
default to ```array()``` instead. Is there a policy against using non-
scalar default arguments?
Nope. But I'm fine with [attachment:patch.patch] as it prevents further
issues, like a plugin passing a scalar value in.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22420#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list