mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
Use echo esc_html, not esc_html_e, which also translates.
git-svn-id: https://develop.svn.wordpress.org/trunk@14720 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7e6f346bdd
commit
c624e0da90
@ -472,7 +472,7 @@ switch ( $_GET['action'] ) {
|
||||
<input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" />
|
||||
<input type="hidden" name="_wp_http_referer" value="<?php echo esc_attr( wp_get_referer() ); ?>" />
|
||||
<?php wp_nonce_field( $_GET['action2'], '_wpnonce', false ); ?>
|
||||
<p><?php esc_html_e( stripslashes( $_GET['msg'] ) ); ?></p>
|
||||
<p><?php echo esc_html( stripslashes( $_GET['msg'] ) ); ?></p>
|
||||
<p class="submit"><input class="button" type="submit" value="<?php _e( 'Confirm' ); ?>" /></p>
|
||||
</form>
|
||||
</body>
|
||||
|
@ -175,9 +175,9 @@ switch ( $action ) {
|
||||
} else {
|
||||
?>
|
||||
<tr class="form-field">
|
||||
<th scope="row"><?php esc_html_e( ucwords( str_replace( "_", " ", $option->option_name ) ) ); ?></th>
|
||||
<th scope="row"><?php echo esc_html( ucwords( str_replace( "_", " ", $option->option_name ) ) ); ?></th>
|
||||
<?php if ( $is_main_site && in_array( $option->option_name, array( 'siteurl', 'home' ) ) ) { ?>
|
||||
<td><code><?php esc_html_e( $option->option_value ) ?></code></td>
|
||||
<td><code><?php echo esc_html( $option->option_value ) ?></code></td>
|
||||
<?php } else { ?>
|
||||
<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>
|
||||
<?php } ?>
|
||||
|
@ -45,7 +45,7 @@ if ( $updated ) { ?>
|
||||
|
||||
<div class="wrap">
|
||||
<?php screen_icon(); ?>
|
||||
<h2><?php esc_html_e( $title ); ?></h2>
|
||||
<h2><?php echo esc_html( $title ); ?></h2>
|
||||
<form id="myblogs" action="" method="post">
|
||||
<?php
|
||||
choose_primary_blog();
|
||||
|
Loading…
x
Reference in New Issue
Block a user