Docs: Docblock corrections relating to WP_Post objects.

See #51373, #50768


git-svn-id: https://develop.svn.wordpress.org/trunk@49544 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2020-11-09 15:13:56 +00:00
parent 062db1e092
commit 8e25b92b63
5 changed files with 13 additions and 13 deletions

View File

@@ -352,7 +352,7 @@ final class WP_Post {
* @since 3.5.0
*
* @param string $filter Filter.
* @return array|bool|object|WP_Post
* @return WP_Post
*/
public function filter( $filter ) {
if ( $this->filter === $filter ) {