Make WordPress Core

Ticket #36331: 36331.2.diff

File 36331.2.diff, 1.3 KB (added by SergeyBiryukov, 11 years ago)
  • src/wp-includes/query.php

     
    268268}
    269269
    270270/**
    271  * Is the query for an existing taxonomy archive page?
     271 * Is the query for an existing custom taxonomy archive page?
    272272 *
    273273 * If the $taxonomy parameter is specified, this function will additionally
    274274 * check if the query is for that specific $taxonomy.
    … …  
    277277 * this function will additionally check if the query is for one of the terms
    278278 * specified.
    279279 *
     280 * Returns false for built-in taxonomies (category and tag archives).
     281 *
    280282 * @since 2.5.0
    281283 *
    282284 * @global WP_Query $wp_query Global WP_Query instance.
    … …  
    43264328        }
    43274329
    43284330        /**
    4329          * Is the query for an existing taxonomy archive page?
     4331         * Is the query for an existing custom taxonomy archive page?
    43304332         *
    43314333         * If the $taxonomy parameter is specified, this function will additionally
    43324334         * check if the query is for that specific $taxonomy.
    … …  
    43354337         * this function will additionally check if the query is for one of the terms
    43364338         * specified.
    43374339         *
     4340         * Returns false for built-in taxonomies (category and tag archives).
     4341         *
    43384342         * @since 3.1.0
    43394343         *
    43404344         * @global array $wp_taxonomies