mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17771 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
class WP_Plugins_List_Table extends WP_List_Table {
|
||||
|
||||
function WP_Plugins_List_Table() {
|
||||
function __construct() {
|
||||
global $status, $page;
|
||||
|
||||
$default_status = get_user_option( 'plugins_last_view' );
|
||||
@@ -23,7 +23,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
|
||||
$page = $this->get_pagenum();
|
||||
|
||||
parent::WP_List_Table( array(
|
||||
parent::__construct( array(
|
||||
'plural' => 'plugins',
|
||||
) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user