mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-10 10:27:57 +01:00
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:
parent
784e162177
commit
256bea185d
@ -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 )
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user