WordPress.org

Make WordPress Core

Ticket #4649: plugins.php.diff

File plugins.php.diff, 548 bytes (added by GaryKing, 8 years ago)
  • wp-admin/plugins.php

     
    158158                <td class='vers'>{$plugin_data['Version']}</td> 
    159159                <td class='desc'><p>{$plugin_data['Description']} <cite>".sprintf(__('By %s'), $plugin_data['Author']).".</cite></p></td> 
    160160                <td class='togl'>$toggle</td>"; 
    161                 if ( current_user_can('edit_plugins') ) 
     161                if ( current_user_can('edit_plugins') and $edit != '') 
    162162                echo " 
    163163                <td>$edit</td>"; 
    164164                echo"