Changeset 41418
- Timestamp:
- 09/19/2017 11:10:23 AM (7 years ago)
- Location:
- branches/4.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-admin/edit-tag-form.php
r38753 r41418 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 ); -
branches/4.7/src/wp-admin/user-edit.php
r39331 r41418 183 183 <?php endif; ?> 184 184 <?php if ( $wp_http_referer && false === strpos( $wp_http_referer, 'user-new.php' ) && ! IS_PROFILE_PAGE ) : ?> 185 <p><a href="<?php echo esc_url( $wp_http_referer); ?>"><?php _e('← Back to Users'); ?></a></p>185 <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> 186 186 <?php endif; ?> 187 187 </div>
Note: See TracChangeset
for help on using the changeset viewer.