Make WordPress Core


Ignore:
Timestamp:
01/05/2021 05:14:24 PM (4 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-admin/includes/post.php

    r49927 r49936  
    814814 * @global WP_User $current_user
    815815 *
    816  * @return int|WP_Error
     816 * @return int|WP_Error Post ID on success, WP_Error on failure.
    817817 */
    818818function wp_write_post() {
     
    890890 * @since 2.0.0
    891891 *
    892  * @return int|null
     892 * @return int|void Post ID on success, void on failure.
    893893 */
    894894function write_post() {
Note: See TracChangeset for help on using the changeset viewer.