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

Props samanehmirrajabi.
Fixes #46823.

git-svn-id: https://develop.svn.wordpress.org/trunk@45126 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-04-07 05:22:17 +00:00
parent 8cd187c23a
commit 60e5087b36
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ if ( ! function_exists( 'twentyfifteen_setup' ) ) :
/* /*
* Enable support for Post Thumbnails on posts and pages. * Enable support for Post Thumbnails on posts and pages.
* *
* See: https://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails * See: https://developer.wordpress.org/reference/functions/add_theme_support/#post-thumbnails
*/ */
add_theme_support( 'post-thumbnails' ); add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size( 825, 510, true ); set_post_thumbnail_size( 825, 510, true );

View File

@ -81,7 +81,7 @@ if ( ! function_exists( 'twentysixteen_setup' ) ) :
/* /*
* Enable support for Post Thumbnails on posts and pages. * Enable support for Post Thumbnails on posts and pages.
* *
* @link https://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails * @link https://developer.wordpress.org/reference/functions/add_theme_support/#post-thumbnails
*/ */
add_theme_support( 'post-thumbnails' ); add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size( 1200, 9999 ); set_post_thumbnail_size( 1200, 9999 );