WordPress.org

Make WordPress Core

Changeset 48467


Ignore:
Timestamp:
07/14/2020 11:05:01 AM (14 months ago)
Author:
SergeyBiryukov
Message:

Docs: Improve description for get_blog_post().

Props stevenlinx.
Fixes #50655.

File:
1 edited

Legend:

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

    r48315 r48467  
    133133
    134134/**
    135  * Get a blog post from any site on the network.
     135 * Gets a blog post from any site on the network.
     136 *
     137 * This function is similar to get_post(), except that it can retrieve a post
     138 * from any site on the network, not just the current site.
    136139 *
    137140 * @since MU (3.0.0)
     
    139142 * @param int $blog_id ID of the blog.
    140143 * @param int $post_id ID of the post being looked for.
    141  * @return WP_Post|null WP_Post on success or null on failure
     144 * @return WP_Post|null WP_Post object on success, null on failure
    142145 */
    143146function get_blog_post( $blog_id, $post_id ) {
Note: See TracChangeset for help on using the changeset viewer.