wp-admin/network.php: $keys_salts = array( 'AUTH_KEY' => '', 'SECURE_AUTH_KEY' => '', 'LOGGED_IN_KEY' => '', 'NONCE_KEY' => '', 'AUTH_SALT' => '', 'SECURE_AUTH_SALT' => '', 'LOGGED_IN_SALT' => '', 'NONCE_SALT' => '' );
wp-admin/network.php: foreach ( $keys_salts as $c => $v ) {
wp-admin/network.php: unset( $keys_salts[ $c ] );
wp-admin/network.php: if ( ! empty( $keys_salts ) ) {
wp-admin/network.php: $keys_salts_str = '';
wp-admin/network.php: $from_api = wp_remote_get( 'https://api.wordpress.org/secret-key/1.1/salt/' );
wp-admin/network.php: foreach ( $keys_salts as $c => $v ) {
wp-admin/network.php: $keys_salts_str .= "\ndefine( '$c', '" . wp_generate_password( 64, true, true ) . "' );";
wp-admin/network.php: foreach ( $keys_salts as $c => $v ) {
wp-admin/network.php: $keys_salts_str .= "\ndefine( '$c', '" . substr( array_shift( $from_api ), 28, 64 ) . "' );";
wp-admin/network.php: $num_keys_salts = count( $keys_salts );
wp-admin/network.php: echo _n( 'This unique authentication key is also missing from your wp-config.php
file.', 'These unique authentication keys are also missing from your wp-config.php
file.', $num_keys_salts ); ?>
wp-admin/network.php:
wp-admin/setup-config.php: // Fetch or generate keys and salts.
wp-admin/setup-config.php: $secret_keys = wp_remote_get( 'https://api.wordpress.org/secret-key/1.1/salt/' );
wp-admin/setup-config.php: case 'AUTH_SALT' :
wp-admin/setup-config.php: case 'SECURE_AUTH_SALT' :
wp-admin/setup-config.php: case 'LOGGED_IN_SALT' :
wp-admin/setup-config.php: case 'NONCE_SALT' :
wp-admin/includes/ms.php:/* Warn the admin if SECRET SALT information is missing from wp-config.php */
wp-admin/includes/ms.php:function secret_salt_warning() {
wp-admin/includes/ms.php: $secret_keys = array( 'AUTH_KEY', 'SECURE_AUTH_KEY', 'LOGGED_IN_KEY', 'NONCE_KEY', 'AUTH_SALT', 'SECURE_AUTH_SALT', 'LOGGED_IN_SALT', 'NONCE_SALT' );
wp-admin/includes/ms.php:add_action( 'network_admin_notices', 'secret_salt_warning' );
wp-config-sample.php: * Authentication Unique Keys and Salts.
wp-config-sample.php: * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
wp-config-sample.php:define('AUTH_SALT', 'put your unique phrase here');
wp-config-sample.php:define('SECURE_AUTH_SALT', 'put your unique phrase here');
wp-config-sample.php:define('LOGGED_IN_SALT', 'put your unique phrase here');
wp-config-sample.php:define('NONCE_SALT', 'put your unique phrase here');
wp-includes/class-phpass.php: function gensalt_private($input)
wp-includes/class-phpass.php: $salt = substr($setting, 4, 8);
wp-includes/class-phpass.php: if (strlen($salt) != 8)
wp-includes/class-phpass.php: $hash = md5($salt . $password, TRUE);
wp-includes/class-phpass.php: $hash = pack('H*', md5($salt . $password));
wp-includes/class-phpass.php: function gensalt_extended($input)
wp-includes/class-phpass.php: function gensalt_blowfish($input)
wp-includes/class-phpass.php: # bcrypt will happily accept and correct a salt string which
wp-includes/class-phpass.php: crypt($password, $this->gensalt_blowfish($random));
wp-includes/class-phpass.php: crypt($password, $this->gensalt_extended($random));
wp-includes/class-phpass.php: $this->gensalt_private($random));
wp-includes/pluggable.php:if ( !function_exists('wp_salt') ) :
wp-includes/pluggable.php: * Get salt to add to hashes.
wp-includes/pluggable.php: * Salts are created using secret keys. Secret keys are located in two places:
wp-includes/pluggable.php: * {@link https://api.wordpress.org/secret-key/1.1/salt/ secret key created} just
wp-includes/pluggable.php: * define('AUTH_SALT', 'eZyT)-Naw]F8CwA*VaW#q*|.)g@o}||wf~@C-YSt}(dh_r6EbI#A,y|nU2{B#JBW');
wp-includes/pluggable.php: * define('SECURE_AUTH_SALT', '!=oLUTXh,QW=H `}`L|9/^4-3 STz},T(w}W*c(u`g~EJBf#8u#R{mUEZrozmm');
wp-includes/pluggable.php: * define('NONCE_SALT', 'h`GXHhD>SLWVfg1(1(N{;.V!MoE(SfbA_ksP@&`+AycHcAV$+?@3q+rxV{%^VyKT');
wp-includes/pluggable.php: * Salting passwords helps against tools which has stored hashed values of
wp-includes/pluggable.php: * @link https://api.wordpress.org/secret-key/1.1/salt/ Create secrets for wp-config.php
wp-includes/pluggable.php: * @return string Salt value
wp-includes/pluggable.php:function wp_salt( $scheme = 'auth' ) {
wp-includes/pluggable.php: static $cached_salts = array();
wp-includes/pluggable.php: if ( isset( $cached_salts[ $scheme ] ) )
wp-includes/pluggable.php: return apply_filters( 'salt', $cached_salts[ $scheme ], $scheme );
wp-includes/pluggable.php: foreach ( array( 'KEY', 'SALT' ) as $second ) {
wp-includes/pluggable.php: $key = $salt = '';
wp-includes/pluggable.php: if ( 'auth' == $scheme && defined( 'SECRET_SALT' ) && SECRET_SALT && empty( $duplicated_keys[ SECRET_SALT ] ) )
wp-includes/pluggable.php: $salt = SECRET_SALT;
wp-includes/pluggable.php: foreach ( array( 'key', 'salt' ) as $type ) {
wp-includes/pluggable.php: $salt = hash_hmac( 'md5', $scheme, $key );
wp-includes/pluggable.php: $cached_salts[ $scheme ] = $key . $salt;
wp-includes/pluggable.php: return apply_filters( 'salt', $cached_salts[ $scheme ], $scheme );
wp-includes/pluggable.php: * @uses wp_salt() Get WordPress salt
wp-includes/pluggable.php: $salt = wp_salt($scheme);
wp-includes/pluggable.php: return hash_hmac('md5', $data, $salt);
wp-includes/pluggable.php: * generating secret keys and salts. Default false.
Binary file wp-includes/js/tinymce/plugins/wpeditimage/img/image-2x.png matches