https://bugzilla.wikimedia.org/show_bug.cgi?id=38444

--- Comment #4 from Alexandre Emsenhuber [IAlex] <[email protected]> 
2012-07-18 07:52:06 UTC ---
Strings are accepted as $options since many versions, doing the opposite would
create backward compatibility problems with extensions using that for no
benefit at all.

The cast to array simply does the following:
if ( is_string( $options ) ) {
    $options = array( $options );
}
I don't see where there is a problem with this.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to