From 26bf8cda9b143936cec33788261dc3d9f8d3654b Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 3 Feb 2016 20:20:26 +0000 Subject: [PATCH] Docs: Add more complete information to DocBlocks for private core functions `_wp_dashboard_control_callback()` and `_wp_dashboard_recent_comments_row()`. See #32246. Built from https://develop.svn.wordpress.org/trunk@36474 git-svn-id: http://core.svn.wordpress.org/trunk@36441 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/dashboard.php | 17 +++++++++++++---- wp-includes/version.php | 2 +- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 2a95212aa1..a0e7ccd100 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -169,9 +169,13 @@ function wp_add_dashboard_widget( $widget_id, $widget_name, $callback, $control_ } /** + * Outputs controls for the current dashboard widget. * - * @param type $dashboard - * @param type $meta_box + * @access private + * @since 2.7.0 + * + * @param mixed $dashboard + * @param array $meta_box */ function _wp_dashboard_control_callback( $dashboard, $meta_box ) { echo '
'; @@ -566,10 +570,15 @@ function wp_dashboard_recent_drafts( $drafts = false ) { } /** + * Outputs a row for the Recent Comments widget. + * + * @access private + * @since 2.7.0 + * * @global WP_Comment $comment * - * @param WP_Comment $comment - * @param bool $show_date + * @param WP_Comment $comment The current comment. + * @param bool $show_date Optional. Whether to display the date. */ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) { $GLOBALS['comment'] = clone $comment; diff --git a/wp-includes/version.php b/wp-includes/version.php index 2ea8bcad3e..600eff3749 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36473'; +$wp_version = '4.5-alpha-36474'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.