Make WordPress Core

Ticket #40962: 40962.diff

File 40962.diff, 1.2 KB (added by truongwp, 8 years ago)
  • src/wp-includes/template.php

     
    3232         * The last element in the array should always be the fallback template for this query type.
    3333         *
    3434         * Possible values for `$type` include: 'index', '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date',
    35          * 'embed', home', 'frontpage', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'.
     35         * 'embed', 'home', 'frontpage', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'.
    3636         *
    3737         * @since 4.7.0
    3838         *
     
    5050         * This hook also applies to various types of files loaded as part of the Template Hierarchy.
    5151         *
    5252         * Possible values for `$type` include: 'index', '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date',
    53          * 'embed', home', 'frontpage', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'.
     53         * 'embed', 'home', 'frontpage', 'page', 'paged', 'search', 'single', 'singular', and 'attachment'.
    5454         *
    5555         * @since 1.5.0
    5656         * @since 4.8.0 The `$type` and `$templates` parameters were added.