diff --git a/wp-content/themes/pub/wporg-learn-2024/functions.php b/wp-content/themes/pub/wporg-learn-2024/functions.php index c4ba32e31..6b0e9077b 100644 --- a/wp-content/themes/pub/wporg-learn-2024/functions.php +++ b/wp-content/themes/pub/wporg-learn-2024/functions.php @@ -332,7 +332,7 @@ function set_site_breadcrumbs( $breadcrumbs ) { */ function set_default_featured_image( $html, $post_id, $post_thumbnail_id, $size, $attr ) { if ( ! $html ) { - return ''; + return '' . esc_attr( get_the_title( $post_id ) ) . ''; } return $html;