mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Revert [34778], continue using _site_option() for the current network.
The `_network_option()` parameter order will be changing to accept `$network_id` first. The `_site_option()` functions will remain in use throughout core as our way of retrieving a network option for the current network. See #28290. git-svn-id: https://develop.svn.wordpress.org/trunk@34912 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1811,7 +1811,7 @@ function _get_additional_user_keys( $user ) {
|
||||
*/
|
||||
function wp_get_user_contact_methods( $user = null ) {
|
||||
$methods = array();
|
||||
if ( get_network_option( 'initial_db_version' ) < 23588 ) {
|
||||
if ( get_site_option( 'initial_db_version' ) < 23588 ) {
|
||||
$methods = array(
|
||||
'aim' => __( 'AIM' ),
|
||||
'yim' => __( 'Yahoo IM' ),
|
||||
|
||||
Reference in New Issue
Block a user