Bundled Themes: Link to an updated documentation on child themes on developer.wordpress.org, instead of Codex.

Props man4toman, andraganescu.
Fixes #46450.

git-svn-id: https://develop.svn.wordpress.org/trunk@45081 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-04-01 11:55:39 +00:00
parent f6dadb3738
commit 0060f2ccbc
7 changed files with 31 additions and 24 deletions

View File

@ -9,11 +9,13 @@
* The first function, twentyeleven_setup(), sets up the theme by registering support * The first function, twentyeleven_setup(), sets up the theme by registering support
* for various features in WordPress, such as post thumbnails, navigation menus, and the like. * for various features in WordPress, such as post thumbnails, navigation menus, and the like.
* *
* When using a child theme (see https://codex.wordpress.org/Theme_Development and * When using a child theme you can override certain functions (those wrapped
* https://codex.wordpress.org/Child_Themes), you can override certain functions * in a function_exists() call) by defining them first in your child theme's
* (those wrapped in a function_exists() call) by defining them first in your child theme's * functions.php file. The child theme's functions.php file is included before
* functions.php file. The child theme's functions.php file is included before the parent * the parent theme's file, so the child theme functions would be used.
* theme's file, so the child theme functions would be used. *
* @link https://codex.wordpress.org/Theme_Development
* @link https://developer.wordpress.org/themes/advanced-topics/child-themes/
* *
* Functions that are not pluggable (not wrapped in function_exists()) are instead attached * Functions that are not pluggable (not wrapped in function_exists()) are instead attached
* to a filter or action hook. The hook can be removed by using remove_action() or * to a filter or action hook. The hook can be removed by using remove_action() or

View File

@ -12,7 +12,7 @@
* the parent theme's file, so the child theme functions would be used. * the parent theme's file, so the child theme functions would be used.
* *
* @link https://codex.wordpress.org/Theme_Development * @link https://codex.wordpress.org/Theme_Development
* @link https://codex.wordpress.org/Child_Themes * @link https://developer.wordpress.org/themes/advanced-topics/child-themes/
* *
* Functions that are not pluggable (not wrapped in function_exists()) are * Functions that are not pluggable (not wrapped in function_exists()) are
* instead attached to a filter or action hook. * instead attached to a filter or action hook.

View File

@ -12,7 +12,7 @@
* the parent theme's file, so the child theme functions would be used. * the parent theme's file, so the child theme functions would be used.
* *
* @link https://codex.wordpress.org/Theme_Development * @link https://codex.wordpress.org/Theme_Development
* @link https://codex.wordpress.org/Child_Themes * @link https://developer.wordpress.org/themes/advanced-topics/child-themes/
* *
* Functions that are not pluggable (not wrapped in function_exists()) are * Functions that are not pluggable (not wrapped in function_exists()) are
* instead attached to a filter or action hook. * instead attached to a filter or action hook.

View File

@ -12,7 +12,7 @@
* the parent theme's file, so the child theme functions would be used. * the parent theme's file, so the child theme functions would be used.
* *
* @link https://codex.wordpress.org/Theme_Development * @link https://codex.wordpress.org/Theme_Development
* @link https://codex.wordpress.org/Child_Themes * @link https://developer.wordpress.org/themes/advanced-topics/child-themes/
* *
* Functions that are not pluggable (not wrapped in function_exists()) are * Functions that are not pluggable (not wrapped in function_exists()) are
* instead attached to a filter or action hook. * instead attached to a filter or action hook.

View File

@ -9,11 +9,13 @@
* The first function, twentyten_setup(), sets up the theme by registering support * The first function, twentyten_setup(), sets up the theme by registering support
* for various features in WordPress, such as post thumbnails, navigation menus, and the like. * for various features in WordPress, such as post thumbnails, navigation menus, and the like.
* *
* When using a child theme (see https://codex.wordpress.org/Theme_Development and * When using a child theme you can override certain functions (those wrapped
* https://codex.wordpress.org/Child_Themes), you can override certain functions * in a function_exists() call) by defining them first in your child theme's
* (those wrapped in a function_exists() call) by defining them first in your child theme's * functions.php file. The child theme's functions.php file is included before
* functions.php file. The child theme's functions.php file is included before the parent * the parent theme's file, so the child theme functions would be used.
* theme's file, so the child theme functions would be used. *
* @link https://codex.wordpress.org/Theme_Development
* @link https://developer.wordpress.org/themes/advanced-topics/child-themes/
* *
* Functions that are not pluggable (not wrapped in function_exists()) are instead attached * Functions that are not pluggable (not wrapped in function_exists()) are instead attached
* to a filter or action hook. The hook can be removed by using remove_action() or * to a filter or action hook. The hook can be removed by using remove_action() or

View File

@ -6,12 +6,13 @@
* theme as custom template tags. Others are attached to action and filter * theme as custom template tags. Others are attached to action and filter
* hooks in WordPress to change core functionality. * hooks in WordPress to change core functionality.
* *
* When using a child theme (see https://codex.wordpress.org/Theme_Development * When using a child theme you can override certain functions (those wrapped
* and https://codex.wordpress.org/Child_Themes), you can override certain * in a function_exists() call) by defining them first in your child theme's
* functions (those wrapped in a function_exists() call) by defining them first * functions.php file. The child theme's functions.php file is included before
* in your child theme's functions.php file. The child theme's functions.php * the parent theme's file, so the child theme functions would be used.
* file is included before the parent theme's file, so the child theme *
* functions would be used. * @link https://codex.wordpress.org/Theme_Development
* @link https://developer.wordpress.org/themes/advanced-topics/child-themes/
* *
* Functions that are not pluggable (not wrapped in function_exists()) are * Functions that are not pluggable (not wrapped in function_exists()) are
* instead attached to a filter or action hook. * instead attached to a filter or action hook.

View File

@ -6,11 +6,13 @@
* in the theme as custom template tags. Others are attached to action and * in the theme as custom template tags. Others are attached to action and
* filter hooks in WordPress to change core functionality. * filter hooks in WordPress to change core functionality.
* *
* When using a child theme (see https://codex.wordpress.org/Theme_Development and * When using a child theme you can override certain functions (those wrapped
* https://codex.wordpress.org/Child_Themes), you can override certain functions * in a function_exists() call) by defining them first in your child theme's
* (those wrapped in a function_exists() call) by defining them first in your child theme's * functions.php file. The child theme's functions.php file is included before
* functions.php file. The child theme's functions.php file is included before the parent * the parent theme's file, so the child theme functions would be used.
* theme's file, so the child theme functions would be used. *
* @link https://codex.wordpress.org/Theme_Development
* @link https://developer.wordpress.org/themes/advanced-topics/child-themes/
* *
* Functions that are not pluggable (not wrapped in function_exists()) are instead attached * Functions that are not pluggable (not wrapped in function_exists()) are instead attached
* to a filter or action hook. * to a filter or action hook.