Make WordPress Core

Changeset 26736


Ignore:
Timestamp:
12/06/2013 07:17:35 PM (10 years ago)
Author:
DrewAPicture
Message:

Inline documentation fixes for hooks and functions introduced in 3.8.0.

Location:
trunk/src/wp-admin/includes
Files:
4 edited

Legend:

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

    r26346 r26736  
    20372037             * @since 3.8.0
    20382038             *
    2039              * @param array $update_results The results of all updates attempted
     2039             * @param array $update_results The results of all attempted updates.
    20402040             */
    20412041            do_action( 'automatic_updates_complete', $this->update_results );
     
    24472447         *     Array of email arguments that will be passed to wp_mail().
    24482448         *
    2449          *     @type string $to      The email recipient. An array of emails can be returned, as handled by wp_mail().
    2450          *     @type string $subject The email's subject.
    2451          *     @type string $body    The email message body.
    2452          *     @type string $headers Any email headers, defaults to no headers.
     2449         *     @type string $to      The email recipient. An array of emails can be returned,
     2450         *                           as handled by wp_mail().
     2451         *     @type string $subject Email subject.
     2452         *     @type string $body    Email message body.
     2453         *     @type string $headers Any email headers. Default empty.
    24532454         * }
    2454          * @param int   $failures The number of failures encountered while upgrading
    2455          * @param mixed $results  The results of all updates attempted
     2455         * @param int   $failures The number of failures encountered while upgrading.
     2456         * @param mixed $results  The results of all attempted updates.
    24562457         */
    24572458        $email = apply_filters( 'automatic_updates_debug_email', $email, $failures, $this->update_results );
  • trunk/src/wp-admin/includes/dashboard.php

    r26704 r26736  
    312312 * @since 3.8.0
    313313 *
    314  * @param string $error_msg Error message.
     314 * @param string $error_msg Optional. Error message. Default false.
    315315 */
    316316function wp_dashboard_quick_press( $error_msg = false ) {
     
    546546 * @since 3.8.0
    547547 *
    548  * @param array $args
     548 * @param array $args {
     549 *     An array of query and display arguments.
     550 *
     551 *     @type int    $display Number of posts to display.
     552 *     @type int    $max     Maximum number of posts to query.
     553 *     @type string $status  Post status.
     554 *     @type string $order   Designates ascending ('ASC') or descending ('DESC') order.
     555 *     @type string $title   Section title.
     556 *     @type string $id      The container id.
     557 * }
     558 * @return bool False if no posts were found. True otherwise.
    549559 */
    550560function wp_dashboard_recent_posts( $args ) {
     
    618628 * @since 3.8.0
    619629 *
    620  * @param int $total_items
     630 * @param int $total_items Optional. Number of comments to query. Default 5.
     631 * @return bool False if no comments were found. True otherwise.
    621632 */
    622633function wp_dashboard_recent_comments( $total_items = 5 ) {
     
    844855 *
    845856 * @since 3.8.0
     857 *
     858 * @param string $widget_id Widget ID.
     859 * @param array  $feeds     Array of RSS feeds.
    846860 */
    847861function wp_dashboard_primary_output( $widget_id, $feeds ) {
  • trunk/src/wp-admin/includes/template.php

    r26380 r26736  
    19771977 * @since 3.8.0
    19781978 * @param array $args {
    1979  *     @type int    $rating The Rating to display, Expressed in a 0.5 rating increment, or a percentage.
    1980  *     @type string $type   The format that the $rating is in. Valid values are 'rating' (default), or, 'percent'.
    1981  *     @type int    $number The number of ratings which makes up this rating.
     1979 *     Optional. Array of star ratings arguments.
     1980 *
     1981 *     @type int    $rating The rating to display, expressed in either a 0.5 rating increment,
     1982 *                          or percentage. Default 0.
     1983 *     @type string $type   Format that the $rating is in. Valid values are 'rating' (default),
     1984 *                          or, 'percent'. Default 'rating'.
     1985 *     @type int    $number The number of ratings that makes up this rating. Default 0.
    19821986 * }
    19831987 */
  • trunk/src/wp-admin/includes/theme.php

    r26726 r26736  
    114114
    115115/**
    116  * Retrieve the update link if there is an update for a theme available.
    117  *
    118  * Will return a link, if there is an update available.
     116 * Retrieve the update link if there is a theme update available.
     117 *
     118 * Will return a link if there is an update available.
    119119 *
    120120 * @since 3.8.0
    121121 *
    122  * @param object $theme Theme data object.
    123  * @return string|bool HTML for the update link, or False if no valid info was passed.
     122 * @param WP_Theme $theme WP_Theme object.
     123 * @return string|bool HTML for the update link, or false if invalid info was passed.
    124124 */
    125125function get_theme_update_available( $theme ) {
Note: See TracChangeset for help on using the changeset viewer.