/**
  * Constructor.
  *
  * @since 3.1.0
  * @access public
  *
  * @see WP_List_Table::__construct() for more information on default arguments.
  *
  * @param array $args An associative array of arguments.
  */
 public function __construct($args = array())
 {
     global $status, $page;
     parent::__construct(array('plural' => 'themes', 'screen' => isset($args['screen']) ? $args['screen'] : null));
     $this->tab = isset($args['tab']) ? $args['tab'] : '';
     $status = isset($_REQUEST['theme_status']) ? $_REQUEST['theme_status'] : 'all';
     if (!in_array($status, array('all', 'update_disabled', 'update_enabled', 'automatic'))) {
         $status = 'all';
     }
     $page = $this->get_pagenum();
     $this->is_site_themes = 'site-themes-network' == $this->screen->id ? true : false;
     if ($this->is_site_themes) {
         $this->site_id = isset($_REQUEST['id']) ? intval($_REQUEST['id']) : 0;
     }
 }
 public function current_action()
 {
     if (isset($_POST['clear-recent-list'])) {
         return 'clear-recent-list';
     }
     return parent::current_action();
 }