Make WordPress Core

Changeset 14720


Ignore:
Timestamp:
05/18/2010 04:58:18 AM (14 years ago)
Author:
nacin
Message:

Use echo esc_html, not esc_html_e, which also translates.

Location:
trunk/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/ms-edit.php

    r14404 r14720  
    473473                    <input type="hidden" name="_wp_http_referer" value="<?php echo esc_attr( wp_get_referer() ); ?>" />
    474474                    <?php wp_nonce_field( $_GET['action2'], '_wpnonce', false ); ?>
    475                     <p><?php esc_html_e( stripslashes( $_GET['msg'] ) ); ?></p>
     475                    <p><?php echo esc_html( stripslashes( $_GET['msg'] ) ); ?></p>
    476476                    <p class="submit"><input class="button" type="submit" value="<?php _e( 'Confirm' ); ?>" /></p>
    477477                </form>
  • trunk/wp-admin/ms-sites.php

    r14672 r14720  
    176176                            ?>
    177177                                <tr class="form-field">
    178                                     <th scope="row"><?php esc_html_e( ucwords( str_replace( "_", " ", $option->option_name ) ) ); ?></th>
     178                                    <th scope="row"><?php echo esc_html( ucwords( str_replace( "_", " ", $option->option_name ) ) ); ?></th>
    179179                                    <?php if ( $is_main_site && in_array( $option->option_name, array( 'siteurl', 'home' ) ) ) { ?>
    180                                     <td><code><?php esc_html_e( $option->option_value ) ?></code></td>
     180                                    <td><code><?php echo esc_html( $option->option_value ) ?></code></td>
    181181                                    <?php } else { ?>
    182182                                    <td><input class="<?php echo $class; ?>" name="option[<?php echo esc_attr( $option->option_name ) ?>]" type="text" id="<?php echo esc_attr( $option->option_name ) ?>" value="<?php echo esc_attr( $option->option_value ) ?>" size="40" <?php disabled( $disabled ) ?> /></td>
  • trunk/wp-admin/my-sites.php

    r14404 r14720  
    4646<div class="wrap">
    4747<?php screen_icon(); ?>
    48 <h2><?php esc_html_e( $title ); ?></h2>
     48<h2><?php echo esc_html( $title ); ?></h2>
    4949<form id="myblogs" action="" method="post">
    5050    <?php
Note: See TracChangeset for help on using the changeset viewer.