WordPress.org

Plugin Directory

Changeset 610163


Ignore:
Timestamp:
10/09/12 20:23:54 (19 months ago)
Author:
MattyRob
Message:

Enable lower Bulk Action button in Subscribers page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • subscribe2/trunk/admin/subscribers.php

    r607610 r610163  
    3838        echo $message; 
    3939        $_POST['what'] = 'confirmed'; 
    40     } elseif ( $_POST['action'] === 'delete' ) { 
     40    } elseif ( $_POST['action'] === 'delete' || $_POST['action2'] === 'delete' ) { 
    4141        foreach ( $_POST['subscriber'] as $address ) { 
    4242            $this->delete($address); 
    4343        } 
    4444        echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __('Address(es) deleted!', 'subscribe2') . "</strong></p></div>"; 
    45     } elseif ( $_POST['action'] === 'toggle' ) { 
     45    } elseif ( $_POST['action'] === 'toggle' || $_POST['action2'] === 'toggle' ) { 
    4646        global $current_user; 
    4747        $this->ip = $current_user->user_login; 
Note: See TracChangeset for help on using the changeset viewer.