Make WordPress Core


Ignore:
Timestamp:
01/05/2021 05:14:24 PM (3 years ago)
Author:
johnbillion
Message:

Docs: Corrections and improvements to types used in various docblocks.

See #51800, #52217

File:
1 edited

Legend:

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

    r49929 r49936  
    58445844 *
    58455845 * @param string|array $args             Arguments for inserting an attachment.
    5846  * @param string      $file             Optional. Filename.
     5846 * @param string|false $file             Optional. Filename.
    58475847 * @param int          $parent           Optional. Parent post ID.
    58485848 * @param bool         $wp_error         Optional. Whether to return a WP_Error on failure. Default false.
     
    74167416 *
    74177417 * @param string $post_name Slug.
    7418  * @param string $post_ID   Optional. Post ID that should be ignored. Default 0.
     7418 * @param int    $post_ID   Optional. Post ID that should be ignored. Default 0.
    74197419 */
    74207420function wp_add_trashed_suffix_to_post_name_for_trashed_posts( $post_name, $post_ID = 0 ) {
Note: See TracChangeset for help on using the changeset viewer.