Docs: Update Codex references to the `Template_Hierarchy` page.

https://codex.wordpress.org/Template_Hierarchy redirects to https://developer.wordpress.org/themes/basics/template-hierarchy/, so we should link to the correct page.

Props kmeze, pento.
Fixes #45222.


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


git-svn-id: http://core.svn.wordpress.org/trunk@44327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2019-01-09 05:09:51 +00:00
parent e357f68667
commit a583725622
43 changed files with 43 additions and 43 deletions

View File

@ -5,7 +5,7 @@
* Used to display archive-type pages if nothing more specific matches a query. * Used to display archive-type pages if nothing more specific matches a query.
* For example, puts together date-based pages if no date.php file exists. * For example, puts together date-based pages if no date.php file exists.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Eleven * @subpackage Twenty_Eleven

View File

@ -6,7 +6,7 @@
* and one of the two required files for a theme (the other being style.css). * and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query. * It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists. * E.g., it puts together the home page when no home.php file exists.
* Learn more: https://codex.wordpress.org/Template_Hierarchy * Learn more: https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Eleven * @subpackage Twenty_Eleven

View File

@ -9,7 +9,7 @@
* new template file for each one. For example, tag.php (Tag archives), * new template file for each one. For example, tag.php (Tag archives),
* category.php (Category archives), author.php (Author archives), etc. * category.php (Category archives), author.php (Author archives), etc.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Fifteen * @subpackage Twenty_Fifteen

View File

@ -2,7 +2,7 @@
/** /**
* The template part for displaying a message that posts cannot be found * The template part for displaying a message that posts cannot be found
* *
* Learn more: {@link https://codex.wordpress.org/Template_Hierarchy} * Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Fifteen * @subpackage Twenty_Fifteen

View File

@ -2,7 +2,7 @@
/** /**
* The template part for displaying results in search pages * The template part for displaying results in search pages
* *
* Learn more: {@link https://codex.wordpress.org/Template_Hierarchy} * Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Fifteen * @subpackage Twenty_Fifteen

View File

@ -7,7 +7,7 @@
* It is used to display a page when nothing more specific matches a query. * It is used to display a page when nothing more specific matches a query.
* e.g., it puts together the home page when no home.php file exists. * e.g., it puts together the home page when no home.php file exists.
* *
* Learn more: {@link https://codex.wordpress.org/Template_Hierarchy} * Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Fifteen * @subpackage Twenty_Fifteen

View File

@ -10,7 +10,7 @@
* already has tag.php for Tag archives, category.php for Category archives, * already has tag.php for Tag archives, category.php for Category archives,
* and author.php for Author archives. * and author.php for Author archives.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Fourteen * @subpackage Twenty_Fourteen

View File

@ -2,7 +2,7 @@
/** /**
* The template for displaying Author archive pages * The template for displaying Author archive pages
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Fourteen * @subpackage Twenty_Fourteen

View File

@ -2,7 +2,7 @@
/** /**
* The template for displaying Category pages * The template for displaying Category pages
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Fourteen * @subpackage Twenty_Fourteen

View File

@ -7,7 +7,7 @@
* It is used to display a page when nothing more specific matches a query, * It is used to display a page when nothing more specific matches a query,
* e.g., it puts together the home page when no home.php file exists. * e.g., it puts together the home page when no home.php file exists.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Fourteen * @subpackage Twenty_Fourteen

View File

@ -4,7 +4,7 @@
* *
* Used to display archive-type pages for posts in a tag. * Used to display archive-type pages for posts in a tag.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Fourteen * @subpackage Twenty_Fourteen

View File

@ -9,7 +9,7 @@
* @todo https://core.trac.wordpress.org/ticket/23257: Add plural versions of Post Format strings * @todo https://core.trac.wordpress.org/ticket/23257: Add plural versions of Post Format strings
* and remove plurals below. * and remove plurals below.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Fourteen * @subpackage Twenty_Fourteen

View File

@ -2,7 +2,7 @@
/** /**
* The template for displaying archive pages * The template for displaying archive pages
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Seventeen * @subpackage Twenty_Seventeen

View File

@ -5,7 +5,7 @@
* This is the template that displays the area of the page that contains both the current comments * This is the template that displays the area of the page that contains both the current comments
* and the comment form. * and the comment form.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Seventeen * @subpackage Twenty_Seventeen

View File

@ -4,7 +4,7 @@
* *
* If the user has selected a static page for their homepage, this is what will * If the user has selected a static page for their homepage, this is what will
* appear. * appear.
* Learn more: https://codex.wordpress.org/Template_Hierarchy * Learn more: https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Seventeen * @subpackage Twenty_Seventeen

View File

@ -7,7 +7,7 @@
* It is used to display a page when nothing more specific matches a query. * It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists. * E.g., it puts together the home page when no home.php file exists.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Seventeen * @subpackage Twenty_Seventeen

View File

@ -7,7 +7,7 @@
* and that other 'pages' on your WordPress site may use a * and that other 'pages' on your WordPress site may use a
* different template. * different template.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Seventeen * @subpackage Twenty_Seventeen

View File

@ -2,7 +2,7 @@
/** /**
* Template part for displaying page content in page.php * Template part for displaying page content in page.php
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Seventeen * @subpackage Twenty_Seventeen

View File

@ -2,7 +2,7 @@
/** /**
* Template part for displaying audio posts * Template part for displaying audio posts
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Seventeen * @subpackage Twenty_Seventeen

View File

@ -4,7 +4,7 @@
* *
* Used in Search Results and for Recent Posts in Front Page panels. * Used in Search Results and for Recent Posts in Front Page panels.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Seventeen * @subpackage Twenty_Seventeen

View File

@ -2,7 +2,7 @@
/** /**
* Template part for displaying gallery posts * Template part for displaying gallery posts
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Seventeen * @subpackage Twenty_Seventeen

View File

@ -2,7 +2,7 @@
/** /**
* Template part for displaying image posts * Template part for displaying image posts
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Seventeen * @subpackage Twenty_Seventeen

View File

@ -2,7 +2,7 @@
/** /**
* Template part for displaying a message that posts cannot be found * Template part for displaying a message that posts cannot be found
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Seventeen * @subpackage Twenty_Seventeen

View File

@ -2,7 +2,7 @@
/** /**
* Template part for displaying video posts * Template part for displaying video posts
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Seventeen * @subpackage Twenty_Seventeen

View File

@ -2,7 +2,7 @@
/** /**
* Template part for displaying posts * Template part for displaying posts
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Seventeen * @subpackage Twenty_Seventeen

View File

@ -9,7 +9,7 @@
* new template file for each one. For example, tag.php (Tag archives), * new template file for each one. For example, tag.php (Tag archives),
* category.php (Category archives), author.php (Author archives), etc. * category.php (Category archives), author.php (Author archives), etc.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Sixteen * @subpackage Twenty_Sixteen

View File

@ -7,7 +7,7 @@
* It is used to display a page when nothing more specific matches a query. * It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists. * E.g., it puts together the home page when no home.php file exists.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Sixteen * @subpackage Twenty_Sixteen

View File

@ -5,7 +5,7 @@
* Used to display archive-type pages if nothing more specific matches a query. * Used to display archive-type pages if nothing more specific matches a query.
* For example, puts together date-based pages if no date.php file exists. * For example, puts together date-based pages if no date.php file exists.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Ten * @subpackage Twenty_Ten

View File

@ -6,7 +6,7 @@
* and one of the two required files for a theme (the other being style.css). * and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query. * It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists. * E.g., it puts together the home page when no home.php file exists.
* Learn more: https://codex.wordpress.org/Template_Hierarchy * Learn more: https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Ten * @subpackage Twenty_Ten

View File

@ -10,7 +10,7 @@
* already has tag.php for Tag archives, category.php for Category archives, * already has tag.php for Tag archives, category.php for Category archives,
* and author.php for Author archives. * and author.php for Author archives.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Thirteen * @subpackage Twenty_Thirteen

View File

@ -2,7 +2,7 @@
/** /**
* The template for displaying Author archive pages * The template for displaying Author archive pages
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Thirteen * @subpackage Twenty_Thirteen

View File

@ -2,7 +2,7 @@
/** /**
* The template for displaying Category pages * The template for displaying Category pages
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Thirteen * @subpackage Twenty_Thirteen

View File

@ -2,7 +2,7 @@
/** /**
* The template for displaying image attachments * The template for displaying image attachments
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Thirteen * @subpackage Twenty_Thirteen

View File

@ -7,7 +7,7 @@
* It is used to display a page when nothing more specific matches a query. * It is used to display a page when nothing more specific matches a query.
* For example, it puts together the home page when no home.php file exists. * For example, it puts together the home page when no home.php file exists.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Thirteen * @subpackage Twenty_Thirteen

View File

@ -4,7 +4,7 @@
* *
* Used to display archive-type pages for posts in a tag. * Used to display archive-type pages for posts in a tag.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Thirteen * @subpackage Twenty_Thirteen

View File

@ -6,7 +6,7 @@
* If you'd like to further customize these Post Format views, you may create a * If you'd like to further customize these Post Format views, you may create a
* new template file for each specific one. * new template file for each specific one.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Thirteen * @subpackage Twenty_Thirteen

View File

@ -10,7 +10,7 @@
* has tag.php for Tag archives, category.php for Category archives, and * has tag.php for Tag archives, category.php for Category archives, and
* author.php for Author archives. * author.php for Author archives.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Twelve * @subpackage Twenty_Twelve

View File

@ -4,7 +4,7 @@
* *
* Used to display archive-type pages for posts by an author. * Used to display archive-type pages for posts by an author.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Twelve * @subpackage Twenty_Twelve

View File

@ -4,7 +4,7 @@
* *
* Used to display archive-type pages for posts in a category. * Used to display archive-type pages for posts in a category.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Twelve * @subpackage Twenty_Twelve

View File

@ -2,7 +2,7 @@
/** /**
* The template for displaying image attachments * The template for displaying image attachments
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Twelve * @subpackage Twenty_Twelve

View File

@ -7,7 +7,7 @@
* It is used to display a page when nothing more specific matches a query. * It is used to display a page when nothing more specific matches a query.
* For example, it puts together the home page when no home.php file exists. * For example, it puts together the home page when no home.php file exists.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Twelve * @subpackage Twenty_Twelve

View File

@ -4,7 +4,7 @@
* *
* Used to display archive-type pages for posts in a tag. * Used to display archive-type pages for posts in a tag.
* *
* @link https://codex.wordpress.org/Template_Hierarchy * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
* *
* @package WordPress * @package WordPress
* @subpackage Twenty_Twelve * @subpackage Twenty_Twelve

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.1-alpha-44495'; $wp_version = '5.1-alpha-44496';
/** /**
* 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.