Ticket #3011: 3011.diff
File 3011.diff, 448 bytes (added by , 18 years ago) |
---|
-
wp-admin/theme-editor.php
19 19 wp_die(__('The requested theme does not exist.')); 20 20 21 21 $allowed_files = array_merge($themes[$theme]['Stylesheet Files'], $themes[$theme]['Template Files']); 22 sort($allowed_files); 22 23 23 24 if (empty($file)) { 24 25 $file = $allowed_files[0];