Use isset() instead of '@'. Props Utkarsh. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
02440f343c
commit
db6cb9d47f
|
@ -148,8 +148,9 @@ class WP_List_Table {
|
|||
function get_pagination_arg( $key ) {
|
||||
if ( 'page' == $key )
|
||||
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