Make WordPress Core


Ignore:
Timestamp:
07/23/2020 12:50:57 AM (5 years ago)
Author:
johnbillion
Message:

Docs: Various formatting improvements to inline docblocks.

See #49572

File:
1 edited

Legend:

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

    r48529 r48574  
    1414 * @since 2.6.0
    1515 *
    16  * @param bool $update Are we updating a pre-existing post?
     16 * @param bool  $update    Are we updating a pre-existing post?
    1717 * @param array $post_data Array of post data. Defaults to the contents of $_POST.
    1818 * @return array|WP_Error Array of post data on success, WP_Error on failure.
     
    15061506
    15071507/**
    1508  * Output HTML for the post thumbnail meta-box.
     1508 * Returns HTML for the post thumbnail meta box.
    15091509 *
    15101510 * @since 2.9.0
    15111511 *
    1512  * @param int $thumbnail_id ID of the attachment used for thumbnail
    1513  * @param int|WP_Post $post Optional. The post ID or object associated with the thumbnail, defaults to global $post.
    1514  * @return string html
     1512 * @param int         $thumbnail_id ID of the attachment used for thumbnail
     1513 * @param int|WP_Post $post         Optional. The post ID or object associated with the thumbnail, defaults to global $post.
     1514 * @return string The post thumbnail HTML.
    15151515 */
    15161516function _wp_post_thumbnail_html( $thumbnail_id = null, $post = null ) {
Note: See TracChangeset for help on using the changeset viewer.