From 60e5087b36fbe2f7bd226a76a208291c479e3ccb Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 7 Apr 2019 05:22:17 +0000 Subject: [PATCH] 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 --- src/wp-content/themes/twentyfifteen/functions.php | 2 +- src/wp-content/themes/twentysixteen/functions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentyfifteen/functions.php b/src/wp-content/themes/twentyfifteen/functions.php index 201fb2b3fa..db6451f0b9 100644 --- a/src/wp-content/themes/twentyfifteen/functions.php +++ b/src/wp-content/themes/twentyfifteen/functions.php @@ -75,7 +75,7 @@ if ( ! function_exists( 'twentyfifteen_setup' ) ) : /* * 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' ); set_post_thumbnail_size( 825, 510, true ); diff --git a/src/wp-content/themes/twentysixteen/functions.php b/src/wp-content/themes/twentysixteen/functions.php index 5dbd51217b..68e4a5ef03 100644 --- a/src/wp-content/themes/twentysixteen/functions.php +++ b/src/wp-content/themes/twentysixteen/functions.php @@ -81,7 +81,7 @@ if ( ! function_exists( 'twentysixteen_setup' ) ) : /* * 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' ); set_post_thumbnail_size( 1200, 9999 );