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:
parent
02eaef3ae0
commit
e5672bd8c5
@ -13,6 +13,8 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
|||||||
public $orderby = null;
|
public $orderby = null;
|
||||||
public $groups = array();
|
public $groups = array();
|
||||||
|
|
||||||
|
private $error;
|
||||||
|
|
||||||
public function ajax_user_can() {
|
public function ajax_user_can() {
|
||||||
return current_user_can('install_plugins');
|
return current_user_can('install_plugins');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user