Skip to content

Commit 477adad

Browse files
committed
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
1 parent e615ea6 commit 477adad

42 files changed

Lines changed: 42 additions & 42 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/wp-content/themes/twentyeleven/archive.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Used to display archive-type pages if nothing more specific matches a query.
66
* For example, puts together date-based pages if no date.php file exists.
77
*
8-
* @link https://codex.wordpress.org/Template_Hierarchy
8+
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
99
*
1010
* @package WordPress
1111
* @subpackage Twenty_Eleven

src/wp-content/themes/twentyeleven/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* and one of the two required files for a theme (the other being style.css).
77
* It is used to display a page when nothing more specific matches a query.
88
* E.g., it puts together the home page when no home.php file exists.
9-
* Learn more: https://codex.wordpress.org/Template_Hierarchy
9+
* Learn more: https://developer.wordpress.org/themes/basics/template-hierarchy/
1010
*
1111
* @package WordPress
1212
* @subpackage Twenty_Eleven

src/wp-content/themes/twentyfifteen/archive.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* new template file for each one. For example, tag.php (Tag archives),
1010
* category.php (Category archives), author.php (Author archives), etc.
1111
*
12-
* @link https://codex.wordpress.org/Template_Hierarchy
12+
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
1313
*
1414
* @package WordPress
1515
* @subpackage Twenty_Fifteen

src/wp-content/themes/twentyfifteen/content-none.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* The template part for displaying a message that posts cannot be found
44
*
5-
* Learn more: {@link https://codex.wordpress.org/Template_Hierarchy}
5+
* Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
66
*
77
* @package WordPress
88
* @subpackage Twenty_Fifteen

src/wp-content/themes/twentyfifteen/content-search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* The template part for displaying results in search pages
44
*
5-
* Learn more: {@link https://codex.wordpress.org/Template_Hierarchy}
5+
* Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
66
*
77
* @package WordPress
88
* @subpackage Twenty_Fifteen

src/wp-content/themes/twentyfifteen/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* It is used to display a page when nothing more specific matches a query.
88
* e.g., it puts together the home page when no home.php file exists.
99
*
10-
* Learn more: {@link https://codex.wordpress.org/Template_Hierarchy}
10+
* Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
1111
*
1212
* @package WordPress
1313
* @subpackage Twenty_Fifteen

src/wp-content/themes/twentyfourteen/archive.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* already has tag.php for Tag archives, category.php for Category archives,
1111
* and author.php for Author archives.
1212
*
13-
* @link https://codex.wordpress.org/Template_Hierarchy
13+
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
1414
*
1515
* @package WordPress
1616
* @subpackage Twenty_Fourteen

src/wp-content/themes/twentyfourteen/author.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* The template for displaying Author archive pages
44
*
5-
* @link https://codex.wordpress.org/Template_Hierarchy
5+
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
66
*
77
* @package WordPress
88
* @subpackage Twenty_Fourteen

src/wp-content/themes/twentyfourteen/category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* The template for displaying Category pages
44
*
5-
* @link https://codex.wordpress.org/Template_Hierarchy
5+
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
66
*
77
* @package WordPress
88
* @subpackage Twenty_Fourteen

src/wp-content/themes/twentyfourteen/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* It is used to display a page when nothing more specific matches a query,
88
* e.g., it puts together the home page when no home.php file exists.
99
*
10-
* @link https://codex.wordpress.org/Template_Hierarchy
10+
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
1111
*
1212
* @package WordPress
1313
* @subpackage Twenty_Fourteen

0 commit comments

Comments
 (0)