mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-05 07:58:35 +01:00
I18N: Remove HTML tags from translatable strings in wp-admin/plugins.php
.
Props ramiy. Fixes #35679. Built from https://develop.svn.wordpress.org/trunk@36662 git-svn-id: http://core.svn.wordpress.org/trunk@36629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7c66e0648a
commit
519cde5a18
@ -303,11 +303,11 @@ if ( $action ) {
|
|||||||
foreach ( $plugin_info as $plugin ) {
|
foreach ( $plugin_info as $plugin ) {
|
||||||
if ( $plugin['is_uninstallable'] ) {
|
if ( $plugin['is_uninstallable'] ) {
|
||||||
/* translators: 1: plugin name, 2: plugin author */
|
/* translators: 1: plugin name, 2: plugin author */
|
||||||
echo '<li>', sprintf( __( '<strong>%1$s</strong> by <em>%2$s</em> (will also <strong>delete its data</strong>)' ), $plugin['Name'], $plugin['AuthorName'] ), '</li>';
|
echo '<li>', sprintf( __( '%1$s by %2$s (will also <strong>delete its data</strong>)' ), '<strong>' . $plugin['Name'] . '</strong>', '<em>' . $plugin['AuthorName'] . '</em>' ), '</li>';
|
||||||
$data_to_delete = true;
|
$data_to_delete = true;
|
||||||
} else {
|
} else {
|
||||||
/* translators: 1: plugin name, 2: plugin author */
|
/* translators: 1: plugin name, 2: plugin author */
|
||||||
echo '<li>', sprintf( __('<strong>%1$s</strong> by <em>%2$s</em>' ), $plugin['Name'], $plugin['AuthorName'] ), '</li>';
|
echo '<li>', sprintf( _x('%1$s by %2$s', 'plugin' ), '<strong>' . $plugin['Name'] . '</strong>', '<em>' . $plugin['AuthorName'] ) . '</em>', '</li>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-36661';
|
$wp_version = '4.5-alpha-36662';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user