Ticket #10974: 10974.2.diff
File 10974.2.diff, 516 bytes (added by , 15 years ago) |
---|
-
wp-admin/theme-editor.php
36 36 $file = $allowed_files[0]; 37 37 } 38 38 39 $file = validate_file_to_edit($file, $allowed_files); 40 $real_file = get_real_file_to_edit($file); 39 $real_file = validate_file_to_edit($file, $allowed_files); 41 40 $scrollto = isset($_REQUEST['scrollto']) ? (int) $_REQUEST['scrollto'] : 0; 42 41 43 42 $file_show = basename( $file );