From 967b04a7f8e5259eb4a0df1fc938dd61789e868a Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 12 Jul 2015 18:34:24 +0000 Subject: [PATCH] Add missing summaries and `@access` tags to methods added to `WP_Media_List_Table` in 4.3. See [32754]. See #32891. Built from https://develop.svn.wordpress.org/trunk@33179 git-svn-id: http://core.svn.wordpress.org/trunk@33151 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../includes/class-wp-media-list-table.php | 62 +++++++++++++------ wp-includes/version.php | 2 +- 2 files changed, 44 insertions(+), 20 deletions(-) diff --git a/wp-admin/includes/class-wp-media-list-table.php b/wp-admin/includes/class-wp-media-list-table.php index e0255cec48..b2de73ac7f 100644 --- a/wp-admin/includes/class-wp-media-list-table.php +++ b/wp-admin/includes/class-wp-media-list-table.php @@ -311,9 +311,12 @@ class WP_Media_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 ) ) { ?> @@ -325,9 +328,12 @@ class WP_Media_List_Table extends WP_List_Table { } /** - * @since 4.3.0 + * Handles the title column output. * - * @param WP_Post $post + * @since 4.3.0 + * @access public + * + * @param WP_Post $post The current WP_Post object. */ public function column_title( $post ) { list( $mime ) = explode( '/', $post->post_mime_type ); @@ -370,9 +376,12 @@ class WP_Media_List_Table extends WP_List_Table { } /** - * @since 4.3.0 + * Handles the 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', @@ -382,18 +391,24 @@ class WP_Media_List_Table extends WP_List_Table { } /** - * @since 4.3.0 + * Handles the description column output. * - * @param WP_Post $post + * @since 4.3.0 + * @access public + * + * @param WP_Post $post The current WP_Post object. */ public function column_desc( $post ) { echo has_excerpt() ? $post->post_excerpt : ''; } /** - * @since 4.3.0 + * Handles the date column output. * - * @param WP_Post $post + * @since 4.3.0 + * @access public + * + * @param WP_Post $post The current WP_Post object. */ public function column_date( $post ) { if ( '0000-00-00 00:00:00' == $post->post_date ) { @@ -416,9 +431,12 @@ class WP_Media_List_Table extends WP_List_Table { } /** - * @since 4.3.0 + * Handles the parent column output. * - * @param WP_Post $post + * @since 4.3.0 + * @access public + * + * @param WP_Post $post The current WP_Post object. */ public function column_parent( $post ) { $user_can_edit = current_user_can( 'edit_post', $post->ID ); @@ -462,9 +480,12 @@ class WP_Media_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 ) { echo '
'; @@ -476,10 +497,13 @@ class WP_Media_List_Table extends WP_List_Table { } /** - * @since 4.3.0 + * Handles output for the default column. * - * @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 Current column name. */ public function column_default( $post, $column_name ) { if ( 'categories' == $column_name ) { @@ -554,7 +578,7 @@ class WP_Media_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 @@ -622,7 +646,7 @@ class WP_Media_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 055a432930..17e497f0cd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-beta2-33178'; +$wp_version = '4.3-beta2-33179'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.