Make WordPress Core

Ticket #38225: 38225.diff

File 38225.diff, 527 bytes (added by ryankienstra, 8 years ago)
  • src/wp-includes/class-wp-query.php

    diff --git src/wp-includes/class-wp-query.php src/wp-includes/class-wp-query.php
    index a6cd1cf..6eaa257 100644
    class WP_Query { 
    38163816        /**
    38173817         * Is the query for an existing single post?
    38183818         *
    3819          * Works for any post type, except attachments and pages
     3819         * Works for any post type, except pages.
    38203820         *
    38213821         * If the $post parameter is specified, this function will additionally
    38223822         * check if the query is for one of the Posts specified.