464f857316
Introduces `add_network_option()`, `update_network_option()`, `get_network_option()`, and `delete_network_option()`, which use the internals previously found in the `*_site_option()` functions and allow for a network ID to enable cross network storage and retrieval of network options. * `*_site_option()` functions are now wrappers for `*_network_option()` and will interact with options for the current network in a multisite environment. * All will continue to fallback to `*_option()` for non-multisite uses. * Adds basic tests for cross network storage and retrieval. * Existing tests for `*_site_option()` functions provide coverage for storage and retrieval of current network options. Props spacedmonkey, DrewAPicture, jeremyfelt. See #28290. git-svn-id: https://develop.svn.wordpress.org/trunk@34777 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
.. | ||
phpunit | ||
qunit |