diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php
index 4f9c3f8086..04654d1b36 100644
a
|
b
|
function is_post_type_viewable( $post_type ) { |
2005 | 2005 | /** |
2006 | 2006 | * Retrieves an array of the latest posts, or posts matching the given criteria. |
2007 | 2007 | * |
| 2008 | * For more information on the accepted arguments, see the |
| 2009 | * {@link https://developer.wordpress.org/reference/classes/wp_query/ |
| 2010 | * WP_Query} documentation in the Developer Handbook. |
| 2011 | * |
| 2012 | * The `$ignore_sticky_posts` and `$no_found_rows` arguments are ignored by |
| 2013 | * this function and both are set to `true`. |
| 2014 | * |
2008 | 2015 | * The defaults are as follows: |
2009 | 2016 | * |
2010 | 2017 | * @since 1.2.0 |