Make WordPress Core


Ignore:
Timestamp:
07/23/2020 09:09:04 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Another pass at some inline docs fixes mostly made by PHPCBF.

See #49572, #50744

File:
1 edited

Legend:

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

    r48578 r48590  
    10031003 * @global array $wp_post_statuses Inserts new post status object into the list
    10041004 *
    1005  * @param string $post_status Name of the post status.
     1005 * @param string       $post_status Name of the post status.
    10061006 * @param array|string $args {
    10071007 *     Optional. Array or string of post status arguments.
     
    12971297 * @global array $wp_post_types List of post types.
    12981298 *
    1299  * @param string $post_type Post type key. Must not exceed 20 characters and may
    1300  *                          only contain lowercase alphanumeric characters, dashes,
    1301  *                          and underscores. See sanitize_key().
     1299 * @param string       $post_type Post type key. Must not exceed 20 characters and may
     1300 *                                only contain lowercase alphanumeric characters, dashes,
     1301 *                                and underscores. See sanitize_key().
    13021302 * @param array|string $args {
    13031303 *     Array or string of arguments for registering a post type.
     
    49654965 *
    49664966 * @param int|WP_Post $post_id Post Object or ID
    4967  * @param string[] List of URLs yet to ping.
     4967 * @return string[]|false List of URLs yet to ping.
    49684968 */
    49694969function get_to_ping( $post_id ) {
Note: See TracChangeset for help on using the changeset viewer.