Add parameter and return descriptions to the WP_List_Table::get_pagination_arg() DocBlock.

See #30224.

Built from https://develop.svn.wordpress.org/trunk@30225


git-svn-id: http://core.svn.wordpress.org/trunk@30225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2014-11-04 15:55:23 +00:00
parent 784e162177
commit 256bea185d
2 changed files with 5 additions and 4 deletions

View File

@ -247,13 +247,14 @@ class WP_List_Table {
}
/**
* Access the pagination args
* Access the pagination args.
*
* @since 3.1.0
* @access public
*
* @param string $key
* @return int
* @param string $key Pagination argument to retrieve. Common values include 'total_items',
* 'total_pages', 'per_page', or 'infinite_scroll'.
* @return int Number of items that correspond to the given pagination argument.
*/
public function get_pagination_arg( $key ) {
if ( 'page' == $key )

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-alpha-30224';
$wp_version = '4.1-alpha-30225';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.