Make WordPress Core


Ignore:
Timestamp:
12/01/2014 12:59:43 AM (10 years ago)
Author:
wonderboymusic
Message:

Improve various @param docs for src/wp-admin/*.

See #30224.

File:
1 edited

Legend:

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

    r30648 r30680  
    11211121 * @since 2.5.0
    11221122 *
    1123  * @param int|object $id    Post ID or post object.
     1123 * @param integer $id    Post ID or post object.
    11241124 * @param string $title (optional) Title
    11251125 * @param string $name (optional) Name
     
    11861186 * @since 2.5.0
    11871187 *
    1188  * @param int|object $id Post ID or post object.
     1188 * @param integer $id Post ID or post object.
    11891189 * @param string $new_title Optional. New title.
    11901190 * @param string $new_slug Optional. New slug.
     
    13091309 *
    13101310 * @param int $post_id ID of the post to check for editing
    1311  * @return bool|int False: not locked or locked by current user. Int: user ID of user with lock.
     1311 * @return integer False: not locked or locked by current user. Int: user ID of user with lock.
    13121312 */
    13131313function wp_check_post_lock( $post_id ) {
Note: See TracChangeset for help on using the changeset viewer.