WordPress.org

Make WordPress Core

Ticket #26573: 26573.diff

File 26573.diff, 503 bytes (added by nofearinc, 6 years ago)

wp_slash call on wp_install

  • wp-admin/install.php

     
    221221
    222222                if ( $error === false ) {
    223223                        $wpdb->show_errors();
    224                         $result = wp_install($weblog_title, $user_name, $admin_email, $public, '', $admin_password);
     224                        $result = wp_install($weblog_title, $user_name, $admin_email, $public, '', wp_slash( $admin_password ) );
    225225                        extract( $result, EXTR_SKIP );
    226226?>
    227227