Changeset 13477
- Timestamp:
- 02/28/2010 01:31:54 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r13470 r13477 233 233 } 234 234 } else { 235 // Locate all the files in that folder:235 // Locate all the files in that folder 236 236 $files = list_files( WP_PLUGIN_DIR . '/' . dirname($plugin) ); 237 237 if ( $files ) { 238 238 $files_to_delete = array_merge($files_to_delete, $files); 239 239 } 240 // Get plugins list from that folder240 // Get plugins list from that folder 241 241 if ( $folder_plugins = get_plugins( '/' . dirname($plugin)) ) { 242 242 foreach( $folder_plugins as $plugin_file => $data ) { … … 251 251 echo '<h2>' . _n( 'Delete Plugin', 'Delete Plugins', $plugins_to_delete ) . '</h2>'; 252 252 ?> 253 <p><?php echo _n( ' Deleting the selected plugin will remove the following plugin and its files:', 'Deleting the selected plugins will remove the following plugins and their files:', $plugins_to_delete ); ?></p>253 <p><?php echo _n( 'You are about to remove the following plugin:', 'You are about to remove the following plugins:', $plugins_to_delete ); ?></p> 254 254 <ul class="ul-disc"> 255 255 <?php
Note: See TracChangeset
for help on using the changeset viewer.