Changeset 43459 for branches/4.9/src/wp-admin/includes/file.php
- Timestamp:
- 07/16/2018 02:23:26 PM (6 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
- Property svn:mergeinfo changed
/trunk merged: 43388,43390,43435
- Property svn:mergeinfo changed
-
branches/4.9/src/wp-admin/includes/file.php
r43448 r43459 2100 2100 $email_address = $request->email; 2101 2101 $export_file_url = get_post_meta( $request_id, '_export_file_url', true ); 2102 $site_name = is_multisite() ? get_site_option( 'site_name' ) : get_option( 'blogname');2103 $site_url = network_home_url();2102 $site_name = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ); 2103 $site_url = home_url(); 2104 2104 2105 2105 $content = str_replace( '###EXPIRATION###', $expiration_date, $content ); 2106 2106 $content = str_replace( '###LINK###', esc_url_raw( $export_file_url ), $content ); 2107 2107 $content = str_replace( '###EMAIL###', $email_address, $content ); 2108 $content = str_replace( '###SITENAME###', wp_specialchars_decode( $site_name, ENT_QUOTES ), $content );2108 $content = str_replace( '###SITENAME###', $site_name, $content ); 2109 2109 $content = str_replace( '###SITEURL###', esc_url_raw( $site_url ), $content ); 2110 2110 … … 2113 2113 sprintf( 2114 2114 __( '[%s] Personal Data Export' ), 2115 wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES )2115 $site_name 2116 2116 ), 2117 2117 $content
Note: See TracChangeset
for help on using the changeset viewer.