From 2d68e15e00d1d4e23e5d3f562178300975de182b Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 29 Jun 2017 15:46:29 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@40963 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/template.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/template.php b/src/wp-includes/template.php index ff382a7e2d..7a4181b093 100644 --- a/src/wp-includes/template.php +++ b/src/wp-includes/template.php @@ -97,8 +97,8 @@ function get_404_template() { /** * Retrieve path of archive template in current or parent template. * - * The template hierarchy is filterable via the {@see 'archive_template_hierarchy'} hook. - * The template path is filterable via the {@see 'archive_template'} hook. + * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} + * and {@see '$type_template'} dynamic hooks, where `$type` is 'archive'. * * @since 1.5.0 * @@ -123,8 +123,8 @@ function get_archive_template() { /** * Retrieve path of post type archive template in current or parent template. * - * The template hierarchy and template path are filterable via the {@see '{$type}_template_hierarchy'} - * and {@see '{$type}_template'} dynamic hooks, where `$type` is 'archive'. + * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} + * and {@see '$type_template'} dynamic hooks, where `$type` is 'archive'. * * @since 3.7.0 *