X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/699231ae09f7057a4d0000cdf32e50a3df6a04ca..58f607a1de715c9bca69340a4d6fb9e1b9c2bed2:/wp-admin/plugins.php diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index e83ca4c9..bed5d5f6 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -555,9 +555,10 @@ function print_plugins_table($plugins, $context = '') { $description = '

' . $dropins[ $plugin_file ][0] . '

'; } else { $is_active = false; - $description = '' . $dropins[ $plugin_file ][0] . ' ' . __('Inactive:') . ' ' . sprintf( __( 'Requires %s in wp-config.php.' ), "define('" . $dropins[ $plugin_file ][1] . "', true);" ) . '

'; + $description = '

' . $dropins[ $plugin_file ][0] . ' ' . __('Inactive:') . ' ' . sprintf( __( 'Requires %s in wp-config.php.' ), "define('" . $dropins[ $plugin_file ][1] . "', true);" ) . '

'; } - $description .= '

' . $plugin_data['Description'] . '

'; + if ( $plugin_data['Description'] ) + $description .= '

' . $plugin_data['Description'] . '

'; } else { $is_active_for_network = is_plugin_active_for_network($plugin_file); $is_active = $is_active_for_network || is_plugin_active( $plugin_file ); @@ -736,9 +737,9 @@ unset( $status_links );

' . __( 'Files in the /wp-content/mu-plugins directory are executed automatically.' ) . '

'; + echo '

' . __( 'Files in the /wp-content/mu-plugins directory are executed automatically.' ) . '

'; elseif ( 'dropins' == $status ) - echo '

' . __( 'Drop-ins are advanced plugins in the /wp-content directory that replace WordPress functionality when present.' ) . '

'; + echo '

' . __( 'Drop-ins are advanced plugins in the /wp-content directory that replace WordPress functionality when present.' ) . '

'; if ( !empty( $plugins ) && ( ! in_array( $status, array( 'mustuse', 'dropins' ) ) || $page_links ) ) : ?> @@ -769,8 +770,6 @@ if ( $page_links ) print_plugin_actions($status, "action2"); ?>
- -