[wp-trac] [WordPress Trac] #41697: Unused parameter in function is_user_option_local
WordPress Trac
noreply at wordpress.org
Tue Aug 22 09:36:20 UTC 2017
#41697: Unused parameter in function is_user_option_local
--------------------------------+------------------------------
Reporter: bnap00 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses: multisite
--------------------------------+------------------------------
Changes (by spacedmonkey):
* keywords: => has-patch
* version: trunk => 3.0
Comment:
We can't make this change as it would break backwards compatibility. If
anyone is using the function is their plugin / theme, they maybe passing a
null value there and using blog id.
I would recommend just fixing it, as it is really easy to fix.
There is a question around if we should just deprecate this function, but
I would open another ticket to do that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41697#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list