Changeset 43235
- Timestamp:
- 05/10/2018 09:12:21 PM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-admin/includes/file.php
r43209 r43235 1912 1912 $file_basename = 'wp-personal-data-file-' . $stripped_email . '-' . $obscura; 1913 1913 $html_report_filename = $file_basename . '.html'; 1914 $html_report_pathname = $exports_dir . $html_report_filename;1914 $html_report_pathname = wp_normalize_path( $exports_dir . $html_report_filename ); 1915 1915 $file = fopen( $html_report_pathname, 'w' ); 1916 1916 if ( false === $file ) { … … 2008 2008 2009 2009 update_post_meta( $request_id, '_export_file_url', $archive_url ); 2010 update_post_meta( $request_id, '_export_file_path', $archive_pathname);2010 update_post_meta( $request_id, '_export_file_path', wp_normalize_path( $archive_pathname ) ); 2011 2011 } 2012 2012
Note: See TracChangeset
for help on using the changeset viewer.