From b2cc4de9b2c6bee51c8c49a2ef0402b8d2b9cd5f Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 13 Jul 2015 17:49:25 +0000 Subject: [PATCH] Add missing summaries, `@access` tags, and some parameter descriptions to methods added to `WP_Posts_List_Table` in 4.3. See [32740]. See #32891. Built from https://develop.svn.wordpress.org/trunk@33197 git-svn-id: http://core.svn.wordpress.org/trunk@33169 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../includes/class-wp-posts-list-table.php | 54 +++++++++++++------ wp-includes/version.php | 2 +- 2 files changed, 40 insertions(+), 16 deletions(-) diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 414f63a96d..7c9ae710ef 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -48,7 +48,10 @@ class WP_Posts_List_Table extends WP_List_Table { private $is_trash; /** + * Current level for output. + * * @since 4.3.0 + * @access protected * @var int */ protected $current_level = 0; @@ -677,9 +680,12 @@ class WP_Posts_List_Table extends WP_List_Table { } /** - * @since 4.3.0 + * Handles the checkbox column output. * - * @param WP_Post $post + * @since 4.3.0 + * @access public + * + * @param WP_Post $post The current WP_Post object. */ public function column_cb( $post ) { if ( current_user_can( 'edit_post', $post->ID ) ): ?> @@ -692,11 +698,14 @@ class WP_Posts_List_Table extends WP_List_Table { } /** + * Handles the title column output. + * * @since 4.3.0 + * @access public * * @global string $mode * - * @param WP_Post $post + * @param WP_Post $post The current WP_Post object. */ public function column_title( $post ) { global $mode; @@ -772,11 +781,14 @@ class WP_Posts_List_Table extends WP_List_Table { } /** + * Handles the post date column output. + * * @since 4.3.0 + * @access public * * @global string $mode * - * @param WP_Post $post + * @param WP_Post $post The current WP_Post object. */ public function column_date( $post ) { global $mode; @@ -834,9 +846,12 @@ class WP_Posts_List_Table extends WP_List_Table { } /** - * @since 4.3.0 + * Handles the comments column output. * - * @param WP_Post $post + * @since 4.3.0 + * @access public + * + * @param WP_Post $post The current WP_Post object. */ public function column_comments( $post ) { ?> @@ -851,9 +866,12 @@ class WP_Posts_List_Table extends WP_List_Table { } /** - * @since 4.3.0 + * Handles the post author column output. * - * @param WP_Post $post + * @since 4.3.0 + * @access public + * + * @param WP_Post $post The current WP_Post object. */ public function column_author( $post ) { printf( '%s', @@ -863,10 +881,13 @@ class WP_Posts_List_Table extends WP_List_Table { } /** - * @since 4.3.0 + * Handles the default column output. * - * @param WP_Post $post - * @param string $column_name + * @since 4.3.0 + * @access public + * + * @param WP_Post $post The current WP_Post object. + * @param string $column_name The current column name. */ public function column_default( $post, $column_name ) { if ( 'categories' == $column_name ) { @@ -952,9 +973,12 @@ class WP_Posts_List_Table extends WP_List_Table { } /** - * @since 4.3.0 + * Handles columns output for a single row in the table. * - * @param WP_Post $item + * @since 4.3.0 + * @access public + * + * @param WP_Post $item The current WP_Post object. */ public function single_row_columns( $item ) { list( $columns, $hidden, $sortable, $primary ) = $this->get_column_info(); @@ -1037,7 +1061,7 @@ class WP_Posts_List_Table extends WP_List_Table { } /** - * Get the name of the default primary column. + * Gets the name of the default primary column. * * @since 4.3.0 * @access protected @@ -1049,7 +1073,7 @@ class WP_Posts_List_Table extends WP_List_Table { } /** - * Generate and display row actions links. + * Generates and displays row action links. * * @since 4.3.0 * @access protected diff --git a/wp-includes/version.php b/wp-includes/version.php index f90d9a61c2..2753fb5ab6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-beta2-33196'; +$wp_version = '4.3-beta2-33197'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.