WordPress.org

Make WordPress Core

Ticket #16089: 16089.patch

File 16089.patch, 871 bytes (added by SergeyBiryukov, 3 years ago)
  • wp-includes/wp-db.php

     
    10481048        <li>Are you sure that the database server is running?</li> 
    10491049</ul> 
    10501050<p>If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the <a href='http://wordpress.org/support/'>WordPress Support Forums</a>.</p> 
    1051 "/*/WP_I18N_DB_CONN_ERROR*/, $this->dbhost ), 'db_connect_fail' ); 
     1051"/*/WP_I18N_DB_CONN_ERROR*/, htmlspecialchars( stripslashes( $this->dbhost ), ENT_QUOTES ) ), 'db_connect_fail' ); 
    10521052 
    10531053                        // If show errors is disabled then we need to die anyway as we don't have a working DB connection 
    10541054                        // unless we're trying to test the initial connection, in which case setup-config.php will handle.