FIX using the safe function
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7338d58e6e
commit
02cf9c57f1
|
|
@ -82,7 +82,7 @@ $thematiques = get_terms(array(
|
|||
<?php while ($articles->have_posts()) : $articles->the_post(); ?>
|
||||
<?php get_template_part('template-parts/articles/card-article', null, array(
|
||||
'date' => 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(),
|
||||
|
|
|
|||
|
|
@ -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(),
|
||||
)); ?>
|
||||
<?php endwhile; ?>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user