Changeset 54522
- Timestamp:
- 10/17/2022 11:02:06 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r54476 r54522 3585 3585 $html = __( 'The link you followed has expired.' ); 3586 3586 if ( wp_get_referer() ) { 3587 $wp_http_referer = remove_query_arg( 'updated', wp_get_referer() ); 3588 $wp_http_referer = wp_validate_redirect( esc_url_raw( $wp_http_referer ) ); 3587 3589 $html .= '</p><p>'; 3588 3590 $html .= sprintf( 3589 3591 '<a href="%s">%s</a>', 3590 esc_url( remove_query_arg( 'updated', wp_get_referer() )),3592 esc_url( $wp_http_referer ), 3591 3593 __( 'Please try again.' ) 3592 3594 );
Note: See TracChangeset
for help on using the changeset viewer.