Make WordPress Core

Changeset 36662


Ignore:
Timestamp:
02/24/2016 01:01:28 AM (9 years ago)
Author:
SergeyBiryukov
Message:

I18N: Remove HTML tags from translatable strings in wp-admin/plugins.php.

Props ramiy.
Fixes #35679.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/plugins.php

    r36560 r36662  
    304304                            if ( $plugin['is_uninstallable'] ) {
    305305                                /* translators: 1: plugin name, 2: plugin author */
    306                                 echo '<li>', sprintf( __( '<strong>%1$s</strong> by <em>%2$s</em> (will also <strong>delete its data</strong>)' ), $plugin['Name'], $plugin['AuthorName'] ), '</li>';
     306                                echo '<li>', sprintf( __( '%1$s by %2$s (will also <strong>delete its data</strong>)' ), '<strong>' . $plugin['Name'] . '</strong>', '<em>' . $plugin['AuthorName'] . '</em>' ), '</li>';
    307307                                $data_to_delete = true;
    308308                            } else {
    309309                                /* translators: 1: plugin name, 2: plugin author */
    310                                 echo '<li>', sprintf( __('<strong>%1$s</strong> by <em>%2$s</em>' ), $plugin['Name'], $plugin['AuthorName'] ), '</li>';
     310                                echo '<li>', sprintf( _x('%1$s by %2$s', 'plugin' ), '<strong>' . $plugin['Name'] . '</strong>', '<em>' . $plugin['AuthorName'] ) . '</em>', '</li>';
    311311                            }
    312312                        }
Note: See TracChangeset for help on using the changeset viewer.