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.

Built from https://develop.svn.wordpress.org/trunk@40963


git-svn-id: http://core.svn.wordpress.org/trunk@40813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2017-06-29 15:47:40 +00:00
parent 1e32ebe87d
commit 8ccc74c054
2 changed files with 5 additions and 5 deletions

View File

@ -97,8 +97,8 @@ function get_404_template() {
/** /**
* Retrieve path of archive template in current or parent 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 hierarchy and template path are filterable via the {@see '$type_template_hierarchy'}
* The template path is filterable via the {@see 'archive_template'} hook. * and {@see '$type_template'} dynamic hooks, where `$type` is 'archive'.
* *
* @since 1.5.0 * @since 1.5.0
* *
@ -123,8 +123,8 @@ function get_archive_template() {
/** /**
* Retrieve path of post type archive template in current or parent 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'} * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'}
* and {@see '{$type}_template'} dynamic hooks, where `$type` is 'archive'. * and {@see '$type_template'} dynamic hooks, where `$type` is 'archive'.
* *
* @since 3.7.0 * @since 3.7.0
* *

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.9-alpha-40962'; $wp_version = '4.9-alpha-40963';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.