diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index e83ca4c9d9..bed5d5f6df 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"); ?>
- -