mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Docs: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way.
See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48104 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -245,7 +245,7 @@ class WP_REST_Posts_Controller extends WP_REST_Controller {
|
||||
$args['post__in'] = $args['post__in'] ? array_intersect( $sticky_posts, $args['post__in'] ) : $sticky_posts;
|
||||
|
||||
/*
|
||||
* If we intersected, but there are no post ids in common,
|
||||
* If we intersected, but there are no post IDs in common,
|
||||
* WP_Query won't return "no posts" for post__in = array()
|
||||
* so we have to fake it a bit.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user