Make WordPress Core

Changeset 51957


Ignore:
Timestamp:
10/30/2021 08:15:59 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Miscellaneous docblock improvements.

See #53399

Location:
trunk/src
Files:
3 edited

Legend:

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

    r51837 r51957  
    15221522 * @global WP_Query $wp_the_query WordPress Query object.
    15231523 *
    1524  * @param int   $post_id Optional. Post ID.
     1524 * @param int   $post_id Post ID.
    15251525 * @param array $errors  Errors for attachment, if any.
    15261526 * @return string
  • trunk/src/wp-includes/functions.php

    r51950 r51957  
    566566 * @param string     $mysqlstring   Date or datetime field type from MySQL.
    567567 * @param int|string $start_of_week Optional. Start of the week as an integer. Default empty string.
    568  * @return array Keys are 'start' and 'end'.
     568 * @return int[] {
     569 *     Week start and end dates as Unix timestamps.
     570 *
     571 *     @type int $start The week start date as a Unix timestamp.
     572 *     @type int $end   The week end date as a Unix timestamp.
     573 * }
    569574 */
    570575function get_weekstartend( $mysqlstring, $start_of_week = '' ) {
  • trunk/src/wp-includes/general-template.php

    r51926 r51957  
    190190
    191191    /**
    192      * Fires before a template part is loaded.
     192     * Fires before an attempt is made to locate and load a template part.
    193193     *
    194194     * @since 5.2.0
Note: See TracChangeset for help on using the changeset viewer.