Changeset 41851 for trunk/src/wp-admin/plugin-editor.php
- Timestamp:
- 10/13/2017 02:38:19 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/plugin-editor.php
r41774 r41851 232 232 233 233 <div id="templateside"> 234 <h2 ><?php _e( 'Plugin Files' ); ?></h2>234 <h2 id="plugin-files-label"><?php _e( 'Plugin Files' ); ?></h2> 235 235 236 236 <?php … … 242 242 } 243 243 ?> 244 <ul> 245 <?php foreach ( $plugin_editable_files as $plugin_file ) : ?> 246 <li class="<?php echo esc_attr( $file === $plugin_file ? 'notice notice-info' : '' ); ?>"> 247 <a href="plugin-editor.php?file=<?php echo urlencode( $plugin_file ); ?>&plugin=<?php echo urlencode( $plugin ); ?>"><?php echo esc_html( preg_replace( '#^.+?/#', '', $plugin_file ) ); ?></a> 248 </li> 249 <?php endforeach; ?> 244 <ul role="tree" aria-labelledby="plugin-files-label"> 245 <li role="treeitem" tabindex="-1" aria-expanded="true" 246 aria-level="1" 247 aria-posinset="1" 248 aria-setsize="1"> 249 <ul role="group" style="padding-left: 0;"> 250 <?php wp_print_plugin_file_tree( wp_make_plugin_file_tree( $plugin_editable_files ) ); ?> 251 </ul> 250 252 </ul> 251 253 </div>
Note: See TracChangeset
for help on using the changeset viewer.