Make WordPress Core

Ticket #57678: 57678.diff

File 57678.diff, 860 bytes (added by chiragrathod103, 16 months ago)

Created a diff file

  • src/wp-admin/setup-config.php

    diff --git a/src/wp-admin/setup-config.php b/src/wp-admin/setup-config.php
    index 30a1b79502..ca18f84139 100644
    a b switch ( $step ) { 
    322322                }
    323323
    324324                $errors = $wpdb->suppress_errors();
    325                 $wpdb->query( "SELECT $prefix" );
     325                $wpdb->prepare( "SELECT $prefix" );
    326326                $wpdb->suppress_errors( $errors );
    327327
    328328                if ( ! $wpdb->last_error ) {