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.



git-svn-id: https://develop.svn.wordpress.org/trunk@44496 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast 2019-01-09 05:08:25 +00:00
parent e615ea6b91
commit 477adade57
42 changed files with 42 additions and 42 deletions

View File

@ -5,7 +5,7 @@
* 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.
*
* @link https://codex.wordpress.org/Template_Hierarchy
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Eleven

View File

@ -6,7 +6,7 @@
* 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.
* 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
* @subpackage Twenty_Eleven

View File

@ -9,7 +9,7 @@
* new template file for each one. For example, tag.php (Tag archives),
* 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
* @subpackage Twenty_Fifteen

View File

@ -2,7 +2,7 @@
/**
* 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
* @subpackage Twenty_Fifteen

View File

@ -2,7 +2,7 @@
/**
* 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
* @subpackage Twenty_Fifteen

View File

@ -7,7 +7,7 @@
* 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.
*
* Learn more: {@link https://codex.wordpress.org/Template_Hierarchy}
* Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
*
* @package WordPress
* @subpackage Twenty_Fifteen

View File

@ -10,7 +10,7 @@
* already has tag.php for Tag archives, category.php for Category 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
* @subpackage Twenty_Fourteen

View File

@ -2,7 +2,7 @@
/**
* 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
* @subpackage Twenty_Fourteen

View File

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

View File

@ -7,7 +7,7 @@
* 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.
*
* @link https://codex.wordpress.org/Template_Hierarchy
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Fourteen

View File

@ -4,7 +4,7 @@
*
* 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
* @subpackage Twenty_Fourteen

View File

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

View File

@ -2,7 +2,7 @@
/**
* The template for displaying archive pages
*
* @link https://codex.wordpress.org/Template_Hierarchy
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @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
* and the comment form.
*
* @link https://codex.wordpress.org/Template_Hierarchy
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Seventeen

View File

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

View File

@ -7,7 +7,7 @@
* 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.
*
* @link https://codex.wordpress.org/Template_Hierarchy
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Seventeen

View File

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

View File

@ -2,7 +2,7 @@
/**
* 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
* @subpackage Twenty_Seventeen

View File

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

View File

@ -4,7 +4,7 @@
*
* 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
* @subpackage Twenty_Seventeen

View File

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

View File

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

View File

@ -2,7 +2,7 @@
/**
* 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
* @subpackage Twenty_Seventeen

View File

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

View File

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

View File

@ -9,7 +9,7 @@
* new template file for each one. For example, tag.php (Tag archives),
* 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
* @subpackage Twenty_Sixteen

View File

@ -7,7 +7,7 @@
* 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.
*
* @link https://codex.wordpress.org/Template_Hierarchy
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Sixteen

View File

@ -5,7 +5,7 @@
* 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.
*
* @link https://codex.wordpress.org/Template_Hierarchy
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Ten

View File

@ -6,7 +6,7 @@
* 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.
* 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
* @subpackage Twenty_Ten

View File

@ -10,7 +10,7 @@
* already has tag.php for Tag archives, category.php for Category 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
* @subpackage Twenty_Thirteen

View File

@ -2,7 +2,7 @@
/**
* 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
* @subpackage Twenty_Thirteen

View File

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

View File

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

View File

@ -7,7 +7,7 @@
* 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.
*
* @link https://codex.wordpress.org/Template_Hierarchy
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Thirteen

View File

@ -4,7 +4,7 @@
*
* 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
* @subpackage Twenty_Thirteen

View File

@ -6,7 +6,7 @@
* If you'd like to further customize these Post Format views, you may create a
* 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
* @subpackage Twenty_Thirteen

View File

@ -10,7 +10,7 @@
* has tag.php for Tag archives, category.php for Category 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
* @subpackage Twenty_Twelve

View File

@ -4,7 +4,7 @@
*
* 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
* @subpackage Twenty_Twelve

View File

@ -4,7 +4,7 @@
*
* 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
* @subpackage Twenty_Twelve

View File

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

View File

@ -7,7 +7,7 @@
* 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.
*
* @link https://codex.wordpress.org/Template_Hierarchy
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Twelve

View File

@ -4,7 +4,7 @@
*
* 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
* @subpackage Twenty_Twelve