Changeset 43435
- Timestamp:
- 07/08/2018 01:54:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r43353 r43435 2237 2237 $email_address = $request->email; 2238 2238 $export_file_url = get_post_meta( $request_id, '_export_file_url', true ); 2239 $site_name = is_multisite() ? get_site_option( 'site_name' ) : get_option( 'blogname');2240 $site_url = network_home_url();2239 $site_name = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ); 2240 $site_url = home_url(); 2241 2241 2242 2242 $content = str_replace( '###EXPIRATION###', $expiration_date, $content ); 2243 2243 $content = str_replace( '###LINK###', esc_url_raw( $export_file_url ), $content ); 2244 2244 $content = str_replace( '###EMAIL###', $email_address, $content ); 2245 $content = str_replace( '###SITENAME###', wp_specialchars_decode( $site_name, ENT_QUOTES ), $content );2245 $content = str_replace( '###SITENAME###', $site_name, $content ); 2246 2246 $content = str_replace( '###SITEURL###', esc_url_raw( $site_url ), $content ); 2247 2247 … … 2250 2250 sprintf( 2251 2251 __( '[%s] Personal Data Export' ), 2252 wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES )2252 $site_name 2253 2253 ), 2254 2254 $content
Note: See TracChangeset
for help on using the changeset viewer.