Make WordPress Core

Changeset 27736


Ignore:
Timestamp:
03/26/2014 02:30:26 PM (9 years ago)
Author:
nacin
Message:

Ensure proper slashing of the password on install.

This isn't the ideal fix, but it makes things work for now.

props nofearinc.
fixes #26573.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/install.php

    r27469 r27736  
    218218        if ( $error === false ) {
    219219            $wpdb->show_errors();
    220             $result = wp_install($weblog_title, $user_name, $admin_email, $public, '', $admin_password);
     220            $result = wp_install($weblog_title, $user_name, $admin_email, $public, '', wp_slash( $admin_password ) );
    221221            extract( $result, EXTR_SKIP );
    222222?>
Note: See TracChangeset for help on using the changeset viewer.