~canonical-sysadmins/wordpress/4.9.1

« back to all changes in this revision

Viewing changes to wp-includes/query.php

  • Committer: Barry Price
  • Date: 2017-06-09 02:09:58 UTC
  • mfrom: (1.1.26 upstream)
  • Revision ID: barry.price@canonical.com-20170609020958-838whhwt2196f2vk
Merge WP4.8 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
597
597
}
598
598
 
599
599
/**
600
 
 * Is the query for an existing single post of any post type (post, attachment, page, ... )?
 
600
 * Is the query for an existing single post of any post type (post, attachment, page,
 
601
 * custom post types)?
601
602
 *
602
603
 * If the $post_types parameter is specified, this function will additionally
603
604
 * check if the query is for one of the Posts Types specified.