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:
scribu 2010-10-21 15:15:50 +00:00
parent 02440f343c
commit db6cb9d47f
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];
}
/**