From e9967fa22781d922ba4eb8fb44fe72d200ac4b14 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 10 Nov 2025 21:04:10 +0000
Subject: [PATCH] =IconsManager.php update
---
inc/helpers/formatting.php | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/inc/helpers/formatting.php b/inc/helpers/formatting.php
index dae808e..de3d379 100644
--- a/inc/helpers/formatting.php
+++ b/inc/helpers/formatting.php
@@ -147,13 +147,13 @@
return [];
}
$image = [
- 'tiny' => wp_get_attachment_image_src($imgID, 'tiny')[0],
- 'small' => wp_get_attachment_image_src($imgID, 'medium')[0],
- 'medium' => wp_get_attachment_image_src($imgID, 'large')[0],
- 'large' => wp_get_attachment_image_src($imgID, 'full')[0],
- 'alt' => get_post_meta($imgID, '_wp_attachment_image_alt', true),
- 'title' => get_the_title($imgID),
- 'caption' => get_the_excerpt($imgID),
+ 'tiny' => wp_get_attachment_image_src($imgID, 'tiny')[0],
+ 'small' => wp_get_attachment_image_src($imgID, 'medium')[0],
+ 'medium' => wp_get_attachment_image_src($imgID, 'large')[0],
+ 'large' => wp_get_attachment_image_src($imgID, 'full')[0],
+ 'image-alt-text'=> get_post_meta($imgID, '_wp_attachment_image_alt', true),
+ 'image-title' => get_the_title($imgID),
+ 'image-caption' => get_the_excerpt($imgID),
];
$cache->set($imgID, $image);
return $image;
--
Gitblit v1.10.0