WordPress.org

Make WordPress Core

Ticket #21698: prefix_error.patch

File prefix_error.patch, 630 bytes (added by mordauk, 20 months ago)

Replace HTML with placeholders

  • wp-includes/load.php

     
    367367 
    368368        if ( is_wp_error( $prefix ) ) { 
    369369                wp_load_translations_early(); 
    370                 wp_die( __( '<strong>ERROR</strong>: <code>$table_prefix</code> in <code>wp-config.php</code> can only contain numbers, letters, and underscores.' ) ); 
     370                wp_die( sprintf( __( '%sERROR%s: %s$table_prefix%s in %swp-config.php%s can only contain numbers, letters, and underscores.', '<strong>', '</strong>', '<code>', '</code>', '<code>', '</code>' ) ) ); 
    371371        } 
    372372}