From 02cf9c57f1d322d96dfd1fe199aa7390cb31bf19 Mon Sep 17 00:00:00 2001 From: Nonimart Date: Thu, 16 Oct 2025 12:21:33 +0200 Subject: [PATCH] FIX using the safe function --- template-parts/articles/articles-grid.php | 2 +- template-parts/revues/revues-grid.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/template-parts/articles/articles-grid.php b/template-parts/articles/articles-grid.php index d39bbe1..e70baa4 100644 --- a/template-parts/articles/articles-grid.php +++ b/template-parts/articles/articles-grid.php @@ -82,7 +82,7 @@ $thematiques = get_terms(array( have_posts()) : $articles->the_post(); ?> get_the_date(), - 'ThumbnailFocalPosition' => get_thumbnail_focal_point_css(), + 'ThumbnailFocalPosition' => safe_get_thumbnail_focal_point_css(), 'image' => get_the_post_thumbnail_url(), 'link' => get_the_permalink(), 'ID' => get_the_ID(), diff --git a/template-parts/revues/revues-grid.php b/template-parts/revues/revues-grid.php index b398ae6..71d8b33 100644 --- a/template-parts/revues/revues-grid.php +++ b/template-parts/revues/revues-grid.php @@ -66,7 +66,7 @@ $thematiques = get_terms(array( 'image' => get_the_post_thumbnail_url(), 'link' => get_the_permalink(), 'ID' => get_the_ID(), - 'ThumbnailFocalPosition' => get_thumbnail_focal_point_css(), + 'ThumbnailFocalPosition' => safe_get_thumbnail_focal_point_css(), )); ?>