From 09f09e48528faf4dd50cb0f1ba65d24458ae911f Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sun, 28 Feb 2010 01:31:54 +0000 Subject: [PATCH] Clean up repetitive string. fixes #11850, props scribu git-svn-id: https://develop.svn.wordpress.org/trunk@13477 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/plugins.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index 9edc404702..75803a979d 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -232,12 +232,12 @@ if ( !empty($action) ) { $plugin_info[ $plugin ]['is_uninstallable'] = is_uninstallable_plugin( $plugin ); } } else { - //Locate all the files in that folder: + // Locate all the files in that folder $files = list_files( WP_PLUGIN_DIR . '/' . dirname($plugin) ); if ( $files ) { $files_to_delete = array_merge($files_to_delete, $files); } - //Get plugins list from that folder + // Get plugins list from that folder if ( $folder_plugins = get_plugins( '/' . dirname($plugin)) ) { foreach( $folder_plugins as $plugin_file => $data ) { $plugin_info[ $plugin_file ] = $data; @@ -250,7 +250,7 @@ if ( !empty($action) ) { $plugins_to_delete = count( $plugin_info ); echo '

' . _n( 'Delete Plugin', 'Delete Plugins', $plugins_to_delete ) . '

'; ?> -

+