[wp-trac] [WordPress Trac] #18518: suggest.js: don't store the URL in the options object
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 26 08:19:38 UTC 2011
#18518: suggest.js: don't store the URL in the options object
--------------------------+------------------------------
Reporter: scribu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by scribu):
That extra argument only affects the internal constructor function, which
shouldn't be used directly.
If it's really necessary, sure, you could check if it's an object vs. a
string or check the number of arguments passed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18518#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list