Make WordPress Core

Changeset 36770


Ignore:
Timestamp:
02/29/2016 02:37:22 AM (9 years ago)
Author:
SergeyBiryukov
Message:

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

Props ramiy.
Fixes #35988.

File:
1 edited

Legend:

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

    r36638 r36770  
    144144                    <?php
    145145                        foreach ( $theme_info as $theme ) {
    146                             /* translators: 1: theme name, 2: theme author */
    147                             echo '<li>', sprintf( __('<strong>%1$s</strong> by <em>%2$s</em>' ), $theme->display('Name'), $theme->display('Author') ), '</li>';
     146                            echo '<li>' . sprintf(
     147                                /* translators: 1: theme name, 2: theme author */
     148                                _x( '%1$s by %2$s', 'theme' ),
     149                                '<strong>' . $theme->display( 'Name' ) . '</strong>',
     150                                '<em>' . $theme->display( 'Author' ) . '</em>'
     151                            ) . '</li>';
    148152                        }
    149153                    ?>
Note: See TracChangeset for help on using the changeset viewer.