Changeset 41525 for branches/4.6/src/wp-admin/edit-tag-form.php
- Timestamp:
- 09/19/2017 09:27:29 PM (8 years ago)
- File:
-
- 1 edited
-
branches/4.6/src/wp-admin/edit-tag-form.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.6/src/wp-admin/edit-tag-form.php
r41419 r41525 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_validate_redirect( wp_sanitize_redirect( $wp_http_referer ), admin_url( 'term.php?taxonomy=' . $taxonomy ) ) ); ?>"><?php77 <p><a href="<?php echo esc_url( wp_validate_redirect( esc_url_raw( $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 ); 80 80 ?></a></p> 81 81 <?php } else { ?> 82 <p><a href="<?php echo esc_url( wp_ get_referer() ); ?>"><?php82 <p><a href="<?php echo esc_url( wp_validate_redirect( esc_url_raw( wp_get_referer() ) ) ); ?>"><?php 83 83 /* translators: %s: taxonomy name */ 84 84 printf( _x( '← Back to %s', 'admin screen' ), $tax->labels->name );
Note: See TracChangeset
for help on using the changeset viewer.