Add a `private` field to `WP_Plugin_Install_List_Table`, `$error`.

See #30891.


git-svn-id: https://develop.svn.wordpress.org/trunk@31164 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-01-12 16:18:52 +00:00
parent 02eaef3ae0
commit e5672bd8c5
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
public $orderby = null;
public $groups = array();
private $error;
public function ajax_user_can() {
return current_user_can('install_plugins');
}