Make WordPress Core


Ignore:
Timestamp:
05/27/2024 04:28:00 PM (9 months ago)
Author:
SergeyBiryukov
Message:

Docs: Improve documentation for a few functions accepting a WP_Post object.

Follow-up to [15777], [23769], [24490], [25697], [37252], [49544].

See #60699.

File:
1 edited

Legend:

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

    r58174 r58212  
    11401140 * @access private
    11411141 *
    1142  * @param int|object $post Post ID or post object.
     1142 * @param int|WP_Post $post Post ID or post object.
    11431143 * @return void|int|WP_Error Void if nothing fixed. 0 or WP_Error on update failure. The post ID on update success.
    11441144 */
Note: See TracChangeset for help on using the changeset viewer.