[wp-trac] [WordPress Trac] #14555: broken sprintf calls at multi site localization
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 6 15:43:31 UTC 2010
#14555: broken sprintf calls at multi site localization
--------------------------+-------------------------------------------------
Reporter: codestyling | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: i18n | Version: 3.0.1
Severity: critical | Keywords: gettext sprintf bug
--------------------------+-------------------------------------------------
The current version 3.0.1 contains this 2 places, where the brackets are
not closed after the gettext phrase part and the surounded sprintf fails
without having an argument that's why! Not sure, if this could be used to
format anything from internal php stack stack into output!
'''file: wp-admin/ms-edit.php:211'''
{{{
wp_die( sprintf( __( 'You probably need to go back to the <a
href="%s">sites page</a>', esc_url( admin_url( 'ms-sites.php' ) ) ) ) );
}}}
'''file: wp-admin/ms-edit.php:32'''
{{{
wp_die( sprintf( __( 'You probably need to go back to the <a
href="%s">options page</a>.', esc_url( admin_url( 'ms-options.php' ) ) ) )
);
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14555>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list