From 8c4279f9bbe7ec4681412865b999f2f4457d80ac Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 10 Feb 2026 20:26:34 +0000
Subject: [PATCH] =legacy latest

---
 files/fileManagement.php |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/files/fileManagement.php b/files/fileManagement.php
index 9b20763..a5aedf1 100644
--- a/files/fileManagement.php
+++ b/files/fileManagement.php
@@ -365,8 +365,8 @@
  */
 function altr_get_artist_top_styles($post_id)
 {
-    if (!function_exists('JVBase\\meta\\MetaManager')) {
-        // Fallback if MetaManager not available
+    if (!function_exists('JVBase\\meta\\Meta')) {
+        // Fallback if Meta not available
         $styles = wp_get_post_terms($post_id, BASE . 'style', array('fields' => 'names'));
         if (is_wp_error($styles) || empty($styles)) {
             return 'custom-tattoos';
@@ -380,8 +380,8 @@
     }
 
     // Get top highlighted styles first
-    $meta = new JVBase\meta\MetaManager($post_id, 'post');
-    $highlighted = explode(',', $meta->getValue('top_style')) ?: array();
+    $meta = new JVBase\meta\Meta($post_id, 'post');
+    $highlighted = explode(',', $meta->get('top_style')) ?: array();
 
     if (!empty($highlighted)) {
         $style_names = array();

--
Gitblit v1.10.0