WordPress.org

Make WordPress Core

Changeset 13042


Ignore:
Timestamp:
02/10/2010 10:59:45 AM (8 years ago)
Author:
dd32
Message:

Fix off-by-one substr() error. Props blepoxp. See #12159

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/setup-config.php

    r13026 r13042  
    213213            case "define('NONCE_SA":
    214214                if ( $secret_keys )
    215                     $configFile[$line_num] = str_replace('put your unique phrase here', substr( $secret_keys[$key++], 27, 64 ), $line );
     215                    $configFile[$line_num] = str_replace('put your unique phrase here', substr( $secret_keys[$key++], 28, 64 ), $line );
    216216                break;
    217217        }
Note: See TracChangeset for help on using the changeset viewer.