From 256bea185d3f2fe7442841ce1bf5ac8b81e91ccf Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 4 Nov 2014 15:55:23 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-list-table.php | 7 ++++--- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/class-wp-list-table.php b/wp-admin/includes/class-wp-list-table.php index 96e9c8564b..2d8e8bfed1 100644 --- a/wp-admin/includes/class-wp-list-table.php +++ b/wp-admin/includes/class-wp-list-table.php @@ -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 ) diff --git a/wp-includes/version.php b/wp-includes/version.php index 5f1e12f5bd..d922251fed 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.