Changeset 34912 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 10/07/2015 05:11:01 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r34778 r34912 1962 1962 $values[ $type ] = constant( $const ); 1963 1963 } elseif ( ! $values[ $type ] ) { 1964 $values[ $type ] = get_ network_option( "{$scheme}_{$type}" );1964 $values[ $type ] = get_site_option( "{$scheme}_{$type}" ); 1965 1965 if ( ! $values[ $type ] ) { 1966 1966 $values[ $type ] = wp_generate_password( 64, true, true ); 1967 update_ network_option( "{$scheme}_{$type}", $values[ $type ] );1967 update_site_option( "{$scheme}_{$type}", $values[ $type ] ); 1968 1968 } 1969 1969 } … … 1971 1971 } else { 1972 1972 if ( ! $values['key'] ) { 1973 $values['key'] = get_ network_option( 'secret_key' );1973 $values['key'] = get_site_option( 'secret_key' ); 1974 1974 if ( ! $values['key'] ) { 1975 1975 $values['key'] = wp_generate_password( 64, true, true ); 1976 update_ network_option( 'secret_key', $values['key'] );1976 update_site_option( 'secret_key', $values['key'] ); 1977 1977 } 1978 1978 }
Note: See TracChangeset
for help on using the changeset viewer.