From d1a3d2e6eaf29f0732544d06c5c027c632316d1b Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 13 Jul 2015 18:03:24 +0000 Subject: [PATCH] Add missing summaries, `@access` tags, and some parameter descriptions for methods added to `WP_Links_List_Table` in 4.3. See [32753]. See #32891. Built from https://develop.svn.wordpress.org/trunk@33204 git-svn-id: http://core.svn.wordpress.org/trunk@33176 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../includes/class-wp-links-list-table.php | 58 +++++++++++++------ wp-includes/version.php | 2 +- 2 files changed, 42 insertions(+), 18 deletions(-) diff --git a/wp-admin/includes/class-wp-links-list-table.php b/wp-admin/includes/class-wp-links-list-table.php index 197157001d..d86b5a0e4d 100644 --- a/wp-admin/includes/class-wp-links-list-table.php +++ b/wp-admin/includes/class-wp-links-list-table.php @@ -152,9 +152,12 @@ class WP_Links_List_Table extends WP_List_Table { } /** - * @since 4.3.0 + * Handles the checkbox column ouput. * - * @param object $link + * @since 4.3.0 + * @access public + * + * @param object $link The current link object. */ public function column_cb( $link ) { ?> @@ -164,9 +167,12 @@ class WP_Links_List_Table extends WP_List_Table { } /** - * @since 4.3.0 + * Handles the link name column ouput. * - * @param object $link + * @since 4.3.0 + * @access public + * + * @param object $link The current link object. */ public function column_name( $link ) { $edit_link = get_edit_bookmark_link( $link ); @@ -178,9 +184,12 @@ class WP_Links_List_Table extends WP_List_Table { } /** - * @since 4.3.0 + * Handles the link URL column ouput. * - * @param object $link + * @since 4.3.0 + * @access public + * + * @param object $link The current link object. */ public function column_url( $link ) { $short_url = url_shorten( $link->link_url ); @@ -188,11 +197,14 @@ class WP_Links_List_Table extends WP_List_Table { } /** + * Handles the link categories column output. + * * @since 4.3.0 + * @access public * * @global $cat_id * - * @param object $link + * @param object $link The current link object. */ public function column_categories( $link ) { global $cat_id; @@ -213,18 +225,24 @@ class WP_Links_List_Table extends WP_List_Table { } /** - * @since 4.3.0 + * Handles the link relation column ouput. * - * @param object $link + * @since 4.3.0 + * @access public + * + * @param object $link The current link object. */ public function column_rel( $link ) { echo empty( $link->link_rel ) ? '
' : $link->link_rel; } /** - * @since 4.3.0 + * Handles the link visibility column ouput. * - * @param object $link + * @since 4.3.0 + * @access public + * + * @param object $link The current link object. */ public function column_visible( $link ) { if ( 'Y' === $link->link_visible ) { @@ -235,19 +253,25 @@ class WP_Links_List_Table extends WP_List_Table { } /** - * @since 4.3.0 + * Handles the link rating column ouput. * - * @param object $link + * @since 4.3.0 + * @access public + * + * @param object $link The current link object. */ public function column_rating( $link ) { echo $link->link_rating; } /** - * @since 4.3.0 + * Handles the default column output. * - * @param object $link - * @param string $column_name + * @since 4.3.0 + * @access public + * + * @param object $link Link object. + * @param string $column_name Current column name. */ public function column_default( $link, $column_name ) { /** @@ -275,7 +299,7 @@ class WP_Links_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 6207ffd332..2117dbccb0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-beta2-33203'; +$wp_version = '4.3-beta2-33204'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.