WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-admin/plugins.php

    r15271 r15319  
    556556            } else {
    557557                $is_active = false;
    558                 $description = '<strong>' . $dropins[ $plugin_file ][0] . ' <span class="attention">' . __('Inactive:') . '</span></strong> ' . sprintf( __( 'Requires <code>%s</code> in <code>wp-config.php</code>.' ), "define('" . $dropins[ $plugin_file ][1] . "', true);" ) . '</p>';
    559             }
    560             $description .= '<p>' . $plugin_data['Description'] . '</p>';
     558                $description = '<p><strong>' . $dropins[ $plugin_file ][0] . ' <span class="attention">' . __('Inactive:') . '</span></strong> ' . sprintf( __( 'Requires <code>%s</code> in <code>wp-config.php</code>.' ), "define('" . $dropins[ $plugin_file ][1] . "', true);" ) . '</p>';
     559            }
     560            if ( $plugin_data['Description'] )
     561                $description .= '<p>' . $plugin_data['Description'] . '</p>';
    561562        } else {
    562563            $is_active_for_network = is_plugin_active_for_network($plugin_file);
     
    737738<?php
    738739if ( 'mustuse' == $status )
    739     echo '<div class="clear"><p>' . __( 'Files in the <code>/wp-content/mu-plugins</code> directory are executed automatically.' ) . '</p>';
     740    echo '<div class="clear"></div><p>' . __( 'Files in the <code>/wp-content/mu-plugins</code> directory are executed automatically.' ) . '</p>';
    740741elseif ( 'dropins' == $status )
    741     echo '<div class="clear"><p>' . __( 'Drop-ins are advanced plugins in the <code>/wp-content</code> directory that replace WordPress functionality when present.' ) . '</p>';
     742    echo '<div class="clear"></div><p>' . __( 'Drop-ins are advanced plugins in the <code>/wp-content</code> directory that replace WordPress functionality when present.' ) . '</p>';
    742743
    743744if ( !empty( $plugins ) && ( ! in_array( $status, array( 'mustuse', 'dropins' ) ) || $page_links ) ) :
     
    770771?>
    771772</div>
    772 <?php } elseif ( ! empty( $all_plugins ) ) { ?>
    773 <p><?php __( 'No plugins found.' ); ?></p>
    774773<?php } ?>
    775774</form>
Note: See TracChangeset for help on using the changeset viewer.