Improve various @param docs for List Tables.

See #30224.


git-svn-id: https://develop.svn.wordpress.org/trunk@30679 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-12-01 00:32:19 +00:00
parent 7a7bb0d6b4
commit c0045bda84
10 changed files with 171 additions and 2 deletions
@@ -479,6 +479,8 @@ class WP_List_Table {
*
* @since 3.1.0
* @access protected
*
* @param string $post_type
*/
protected function months_dropdown( $post_type ) {
global $wpdb, $wp_locale;
@@ -535,6 +537,8 @@ class WP_List_Table {
*
* @since 3.1.0
* @access protected
*
* @param string $current_mode
*/
protected function view_switcher( $current_mode ) {
?>
@@ -601,6 +605,8 @@ class WP_List_Table {
* @since 3.1.0
* @access protected
*
* @param string $option
* @param int $default
* @return int
*/
protected function get_items_per_page( $option, $default = 20 ) {
@@ -629,6 +635,8 @@ class WP_List_Table {
*
* @since 3.1.0
* @access protected
*
* @param string $which
*/
protected function pagination( $which ) {
if ( empty( $this->_pagination_args ) ) {
@@ -929,6 +937,7 @@ class WP_List_Table {
*
* @since 3.1.0
* @access protected
* @param string $which
*/
protected function display_tablenav( $which ) {
if ( 'top' == $which )
@@ -954,6 +963,8 @@ class WP_List_Table {
*
* @since 3.1.0
* @access protected
*
* @param string $which
*/
protected function extra_tablenav( $which ) {}