Make WordPress Core


Ignore:
Timestamp:
05/16/2009 07:45:31 PM (16 years ago)
Author:
ryan
Message:

Incorporate version into description. Put version, and author link beneath description (possibly incorporate other meta here).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugins.php

    r11367 r11368  
    327327        <th scope="col" class="manage-column check-column"><input type="checkbox" /></th>
    328328        <th scope="col" class="manage-column"><?php _e('Plugin'); ?></th>
    329         <th scope="col" class="manage-column num"><?php _e('Version'); ?></th>
    330329        <th scope="col" class="manage-column"><?php _e('Description'); ?></th>
    331330    </tr>
     
    336335        <th scope="col" class="manage-column check-column"><input type="checkbox" /></th>
    337336        <th scope="col" class="manage-column"><?php _e('Plugin'); ?></th>
    338         <th scope="col" class="manage-column num"><?php _e('Version'); ?></th>
    339337        <th scope="col" class="manage-column"><?php _e('Description'); ?></th>
    340338    </tr>
     
    382380        echo '</div>';
    383381        echo "</td>
    384         <td class='vers'>{$plugin_data['Version']}</td>
    385         <td class='desc'><p>{$plugin_data['Description']}";
     382        <td class='desc'><p>{$plugin_data['Description']}</p>";
     383        if ( !empty($plugin_data['Version']) ) {
     384            printf(__('Version: %s'), $plugin_data['Version']);
     385            echo ' ';
     386        }
    386387        if ( !empty($plugin_data['Author']) ) {
    387388            $author = $plugin_data['Author'];
Note: See TracChangeset for help on using the changeset viewer.