﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
21698,Remove HTML from __() in load.php and wp_set_wpdb_vars(),mordauk,,"When WP checks to see if there is an error with the DB prefix, it outputs a localized error with HTML in it:

{{{
wp_die( __( '<strong>ERROR</strong>: <code>$table_prefix</code> in <code>wp-config.php</code> can only contain numbers, letters, and underscores.' ) );
}}}

It'd be better to use sprintf() and add the HTML after localization via placeholders:
{{{
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>' ) ) );
}}}",enhancement,closed,normal,,I18N,,minor,wontfix,close,
