Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#50655 closed defect (bug) (fixed)

The description of get_blog_post() can be more precise

Reported by: stevenlinx's profile stevenlinx Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.5 Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: has-patch
Focuses: docs, multisite Cc:

Description

An additional sentence can be added:
"This function is the same as get_post(), except that it can retrieve a post from any site on the network, not just the current site."

Codex:
https://codex.wordpress.org/Function_Reference/get_blog_post

DevHub:
https://developer.wordpress.org/reference/functions/get_blog_post/

Attachments (1)

50655.diff (536 bytes) - added by stevenlinx 5 years ago.

Download all attachments as: .zip

Change History (4)

@stevenlinx
5 years ago

#1 @stevenlinx
5 years ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
5 years ago

  • Component changed from General to Posts, Post Types
  • Focuses multisite added
  • Milestone changed from Awaiting Review to 5.5

#3 @SergeyBiryukov
5 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 48467:

Docs: Improve description for get_blog_post().

Props stevenlinx.
Fixes #50655.

Note: See TracTickets for help on using tickets.