Make WordPress Core


Ignore:
Timestamp:
10/18/2014 08:10:47 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Use proper functions for escaped translations.

pros jcastaneda.
fixes #30012.

File:
1 edited

Legend:

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

    r29957 r29961  
    120120        <span class="title-count theme-count"><?php echo count( $themes ); ?></span>
    121121    <?php if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?>
    122         <a href="<?php echo admin_url( 'theme-install.php' ); ?>" class="hide-if-no-js add-new-h2"><?php echo esc_html( _x( 'Add New', 'Add new theme' ) ); ?></a>
     122        <a href="<?php echo admin_url( 'theme-install.php' ); ?>" class="hide-if-no-js add-new-h2"><?php echo esc_html_x( 'Add New', 'Add new theme' ); ?></a>
    123123    <?php endif; ?>
    124124    </h2>
Note: See TracChangeset for help on using the changeset viewer.