Use isset() instead of '@'. Props Utkarsh. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15893 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c5b02e9685
commit
82a68a8979
@ -149,7 +149,8 @@ class WP_List_Table {
|
|||||||
if ( 'page' == $key )
|
if ( 'page' == $key )
|
||||||
return $this->get_pagenum();
|
return $this->get_pagenum();
|
||||||
|
|
||||||
return @$this->_pagination_args[ $key ];
|
if ( isset( $this->_pagination_args[$key] ) )
|
||||||
|
return $this->_pagination_args[$key];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user