From 1e32ebe87dff7fc211756b66ec97617cb4fb0974 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 29 Jun 2017 15:39:40 +0000 Subject: [PATCH] Docs: Don't reference non-existent hooks inline in the DocBlock description for `get_post_type_archive_template()`. Props milana_cap. See #41198. Built from https://develop.svn.wordpress.org/trunk@40962 git-svn-id: http://core.svn.wordpress.org/trunk@40812 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/template.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/template.php b/wp-includes/template.php index 22810fe108..ff382a7e2d 100644 --- a/wp-includes/template.php +++ b/wp-includes/template.php @@ -123,8 +123,8 @@ function get_archive_template() { /** * Retrieve path of post type 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 3.7.0 * diff --git a/wp-includes/version.php b/wp-includes/version.php index d82ed1ab6b..e63719d9d5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-40961'; +$wp_version = '4.9-alpha-40962'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.