Make WordPress Core

Changeset 40963


Ignore:
Timestamp:
06/29/2017 03:46:29 PM (8 years ago)
Author:
DrewAPicture
Message:

Docs: Don't reference non-existent hooks inline in the DocBlock description for get_archive_template().

Also removes extra curly braces from the dynamic hook references added in [40962] to aid future re-parsing.

See #41198.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/template.php

    r40962 r40963  
    9898 * Retrieve path of archive template in current or parent template.
    9999 *
    100  * The template hierarchy is filterable via the {@see 'archive_template_hierarchy'} hook.
    101  * The template path is filterable via the {@see 'archive_template'} hook.
     100 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'}
     101 * and {@see '$type_template'} dynamic hooks, where `$type` is 'archive'.
    102102 *
    103103 * @since 1.5.0
     
    124124 * Retrieve path of post type archive template in current or parent template.
    125125 *
    126  * The template hierarchy and template path are filterable via the {@see '{$type}_template_hierarchy'}
    127  * and {@see '{$type}_template'} dynamic hooks, where `$type` is 'archive'.
     126 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'}
     127 * and {@see '$type_template'} dynamic hooks, where `$type` is 'archive'.
    128128 *
    129129 * @since 3.7.0
Note: See TracChangeset for help on using the changeset viewer.