WordPress.org

Make WordPress Core

Changeset 36474


Ignore:
Timestamp:
02/03/2016 08:19:31 PM (4 years ago)
Author:
DrewAPicture
Message:

Docs: Add more complete information to DocBlocks for private core functions _wp_dashboard_control_callback() and _wp_dashboard_recent_comments_row().

See #32246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/dashboard.php

    r36250 r36474  
    170170
    171171/**
    172  *
    173  * @param type $dashboard
    174  * @param type $meta_box
     172 * Outputs controls for the current dashboard widget.
     173 *
     174 * @access private
     175 * @since 2.7.0
     176 *
     177 * @param mixed $dashboard
     178 * @param array $meta_box
    175179 */
    176180function _wp_dashboard_control_callback( $dashboard, $meta_box ) {
     
    567571
    568572/**
     573 * Outputs a row for the Recent Comments widget.
     574 *
     575 * @access private
     576 * @since 2.7.0
     577 *
    569578 * @global WP_Comment $comment
    570579 *
    571  * @param WP_Comment $comment
    572  * @param bool       $show_date
     580 * @param WP_Comment $comment   The current comment.
     581 * @param bool       $show_date Optional. Whether to display the date.
    573582 */
    574583function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) {
Note: See TracChangeset for help on using the changeset viewer.