[wp-trac] [WordPress Trac] #18460: admin css class 'branch-3-2' and locale 'fr_FR'
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 17 09:44:00 UTC 2011
#18460: admin css class 'branch-3-2' and locale 'fr_FR'
----------------------------+-----------------------------
Reporter: olivM | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.2
Severity: minor | Keywords:
----------------------------+-----------------------------
In the backend of WordPress 3.2, there is an issue linked to the use of
locale 'fr_FR' when generating the CSS class which define WordPress
version.
In french notation, the numeric separator is comma. so on line 90 of file
wp-admin/admin-header.php isn't adapted :
{{{
$admin_body_class .= ' branch-' . str_replace( '.', '-', floatval(
$wp_version ) );
}}}
a possible solution :
{{{
$admin_body_class .= ' branch-' . str_replace( array('.', ','), '-',
floatval( $wp_version ) );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18460>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list