Changeset 41526 for branches/4.5/src/wp-admin/edit-tag-form.php
- Timestamp:
- 09/19/2017 09:29:09 PM (8 years ago)
- Location:
- branches/4.5
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-admin/edit-tag-form.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.5
-
branches/4.5/src/wp-admin/edit-tag-form.php
r41420 r41526 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 ) ) ); ?>"><?php printf( __( '← Back to %s' ), $tax->labels->name ); ?></a></p>77 <p><a href="<?php echo esc_url( wp_validate_redirect( esc_url_raw( $wp_http_referer ), admin_url( 'term.php?taxonomy=' . $taxonomy ) ) ); ?>"><?php printf( __( '← Back to %s' ), $tax->labels->name ); ?></a></p> 78 78 <?php } else { ?> 79 <p><a href="<?php echo esc_url( wp_validate_redirect( wp_sanitize_redirect( wp_get_referer() ), admin_url( 'term.php?taxonomy=' . $taxonomy ) ) ); ?>"><?php printf( __( '← Back to %s' ), $tax->labels->name ); ?></a></p>79 <p><a href="<?php echo esc_url( wp_validate_redirect( esc_url_raw( wp_get_referer() ), admin_url( 'term.php?taxonomy=' . $taxonomy ) ) ); ?>"><?php printf( __( '← Back to %s' ), $tax->labels->name ); ?></a></p> 80 80 <?php } ?> 81 81 </div>
Note: See TracChangeset
for help on using the changeset viewer.