mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-23 06:55:28 +00: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
|
* @since 3.1.0
|
||||||
* @access public
|
* @access public
|
||||||
*
|
*
|
||||||
* @param string $key
|
* @param string $key Pagination argument to retrieve. Common values include 'total_items',
|
||||||
* @return int
|
* '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 ) {
|
public function get_pagination_arg( $key ) {
|
||||||
if ( 'page' == $key )
|
if ( 'page' == $key )
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user