[wp-trac] [WordPress Trac] #28290: Changing _site_option functions for _network_option functions
WordPress Trac
noreply at wordpress.org
Sun Oct 11 23:29:57 UTC 2015
#28290: Changing _site_option functions for _network_option functions
------------------------------------+-------------------------
Reporter: jmlapam | Owner: jeremyfelt
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 4.4
Component: Options, Meta APIs | Version: 4.0
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: multisite
------------------------------------+-------------------------
Comment (by jeremyfelt):
In [changeset:"35025"]:
{{{
#!CommitTicketReference repository="" revision="35025"
MS: Reject truthy, non-numeric network ids in `_network_option()`.
A valid `$network_id` or `null`/`false` is expected as the first parameter
for `_network_option()`. If something other than that is passed, we
immediately return `false` rather than attempting to guess what network
was intended.
See #28290.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28290#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list