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:
scribu 2010-10-21 15:15:50 +00:00
parent c5b02e9685
commit 82a68a8979
1 changed files with 3 additions and 2 deletions

View File

@ -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];
}
/**