Changeset 12752 for trunk/wp-admin/plugins.php
- Timestamp:
- 01/18/2010 08:34:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r12728 r12752 166 166 if ( '.' == dirname($plugin) ) { 167 167 $files_to_delete[] = WP_PLUGIN_DIR . '/' . $plugin; 168 if ( $data = get_plugin_data(WP_PLUGIN_DIR . '/' . $plugin) )168 if ( $data = get_plugin_data(WP_PLUGIN_DIR . '/' . $plugin) ) 169 169 $plugin_info[ $plugin ] = $data; 170 170 } else { 171 171 //Locate all the files in that folder: 172 172 $files = list_files( WP_PLUGIN_DIR . '/' . dirname($plugin) ); 173 if ( $files ) {173 if ( $files ) { 174 174 $files_to_delete = array_merge($files_to_delete, $files); 175 175 } … … 506 506 </select> 507 507 <input type="submit" name="doaction_active" value="<?php esc_attr_e('Apply'); ?>" class="button-secondary action" /> 508 <?php if ( 'recent' == $context ) : ?>508 <?php if ( 'recent' == $context ) : ?> 509 509 <input type="submit" name="clear-recent-list" value="<?php esc_attr_e('Clear List') ?>" class="button-secondary" /> 510 510 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.