Ticket #61752: 61752-alpha-file-order.patch
| File 61752-alpha-file-order.patch, 937 bytes (added by , 5 weeks ago) |
|---|
-
src/wp-admin/plugin-editor.php
285 285 $plugin_editable_files[] = $plugin_file; 286 286 } 287 287 } 288 sort( $plugin_editable_files ); 288 289 ?> 289 290 <ul role="tree" aria-labelledby="plugin-files-label"> 290 291 <li role="treeitem" tabindex="-1" aria-expanded="true" aria-level="1" aria-posinset="1" aria-setsize="1"> -
src/wp-admin/theme-editor.php
106 106 $allowed_files = array( 'style.css' => $allowed_files['style.css'] ) + $allowed_files; 107 107 } 108 108 109 ksort( $allowed_files ); 110 109 111 if ( empty( $file ) ) { 110 112 $relative_file = 'style.css'; 111 113 $file = $allowed_files['style.css'];