Make WordPress Core


Ignore:
Timestamp:
08/20/2008 09:42:31 PM (16 years ago)
Author:
ryan
Message:

Collapse crazyhorse to trunk. Incoming! see #7552

File:
1 edited

Legend:

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

    r8656 r8691  
    1818}
    1919
    20 if( isset($_GET['action']) )
    21     $action = $_GET['action'];
     20if( isset($_REQUEST['action']) )
     21    $action = $_REQUEST['action'];
    2222
    2323$plugin = isset($_REQUEST['plugin']) ? $_REQUEST['plugin'] : '';
     
    328328<div class="tablenav">
    329329    <div class="alignleft">
    330         <input type="submit" name="deactivate-selected" value="<?php _e('Deactivate') ?>" class="button-secondary" />
     330        <select name="action">
     331            <option value="" selected><?php _e('Actions'); ?></option>
     332            <option value="deactivate-selected"><?php _e('Deactivate'); ?></option>
     333        </select>
     334        <input type="submit" name="doaction" value="<?php _e('Apply'); ?>" class="button-secondary action" />
    331335    </div>
    332336</div>
     
    346350<div class="tablenav">
    347351    <div class="alignleft">
    348         <input type="submit" name="activate-selected" value="<?php _e('Activate') ?>" class="button-secondary" />
     352        <select name="action">
     353            <option value="" selected><?php _e('Actions'); ?></option>
     354            <option value="activate-selected"><?php _e('Activate'); ?></option>
    349355<?php if( current_user_can('delete_plugins') ) : ?>
    350         <input type="submit" name="delete-selected" value="<?php _e('Delete') ?>" class="button-secondary" />
    351 <?php endif; ?>
     356            <option value="delete-selected"><?php _e('Delete'); ?></option>
     357<?php endif; ?>
     358        </select>
     359        <input type="submit" value="<?php _e('Apply'); ?>" name="doaction" class="button-secondary action" />
    352360        <input type="submit" name="clear-recent-list" value="<?php _e('Clear List') ?>" class="button-secondary" />
    353361    </div>
Note: See TracChangeset for help on using the changeset viewer.