Changeset 41398
- Timestamp:
- 09/19/2017 09:12:27 AM (7 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-tag-form.php
r40668 r41398 75 75 <p><strong><?php echo $message; ?></strong></p> 76 76 <?php if ( $wp_http_referer ) { ?> 77 <p><a href="<?php echo esc_url( $wp_http_referer); ?>"><?php77 <p><a href="<?php echo esc_url( wp_validate_redirect( wp_sanitize_redirect( $wp_http_referer ), admin_url( 'term.php?taxonomy=' . $taxonomy ) ) ); ?>"><?php 78 78 /* translators: %s: taxonomy name */ 79 79 printf( _x( '← Back to %s', 'admin screen' ), $tax->labels->name ); -
trunk/src/wp-admin/user-edit.php
r41376 r41398 190 190 <?php endif; ?> 191 191 <?php if ( $wp_http_referer && false === strpos( $wp_http_referer, 'user-new.php' ) && ! IS_PROFILE_PAGE ) : ?> 192 <p><a href="<?php echo esc_url( $wp_http_referer); ?>"><?php _e('← Back to Users'); ?></a></p>192 <p><a href="<?php echo esc_url( wp_validate_redirect( wp_sanitize_redirect( $wp_http_referer ), self_admin_url( 'users.php' ) ) ); ?>"><?php _e('← Back to Users'); ?></a></p> 193 193 <?php endif; ?> 194 194 </div>
Note: See TracChangeset
for help on using the changeset viewer.