Changeset 54570 for branches/5.1/src/wp-includes/functions.php
- Timestamp:
- 10/17/2022 06:11:58 PM (2 years ago)
- Location:
- branches/5.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.1
- Property svn:mergeinfo changed
/trunk merged: 54521-54530,54541
- Property svn:mergeinfo changed
-
branches/5.1/src/wp-includes/functions.php
r49457 r54570 2918 2918 $html = __( 'The link you followed has expired.' ); 2919 2919 if ( wp_get_referer() ) { 2920 $html .= '</p><p>'; 2921 $html .= sprintf( 2920 $wp_http_referer = remove_query_arg( 'updated', wp_get_referer() ); 2921 $wp_http_referer = wp_validate_redirect( esc_url_raw( $wp_http_referer ) ); 2922 $html .= '</p><p>'; 2923 $html .= sprintf( 2922 2924 '<a href="%s">%s</a>', 2923 esc_url( remove_query_arg( 'updated', wp_get_referer() )),2925 esc_url( $wp_http_referer ), 2924 2926 __( 'Please try again.' ) 2925 2927 );
Note: See TracChangeset
for help on using the changeset viewer.