From b38f03c0e7218762d90fa5092696b127f24f36db Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 25 Jan 2026 07:07:26 +0000
Subject: [PATCH] =Some logical flaws in Queue.php, Queue.js, ContentExecutor.php, UploadExecutor.php - particularly with timeline ordering, frontend queue updates, etc
---
inc/managers/SchemaManager.php | 50 ++++++++++++++++++++++++--------------------------
1 files changed, 24 insertions(+), 26 deletions(-)
diff --git a/inc/managers/SchemaManager.php b/inc/managers/SchemaManager.php
index c659277..5242d30 100644
--- a/inc/managers/SchemaManager.php
+++ b/inc/managers/SchemaManager.php
@@ -365,7 +365,7 @@
[
'@type' => 'LocalBusiness',
'@id' => $permalink . '#organization',
- 'name' => $term->name,
+ 'name' => html_entity_decode($term->name),
'description' => $meta->getValue('short_bio') ?: $term->description,
'url' => $permalink,
'priceRange' => '$$', // Default price range
@@ -976,7 +976,7 @@
[
'@type' => 'CreativeWork',
'@id' => $permalink . '#style',
- 'name' => $term->name,
+ 'name' => html_entity_decode($term->name),
'description' => $meta->getValue('characteristics') ?: $term->description,
'url' => $permalink,
'mainEntityOfPage' => [
@@ -1009,7 +1009,7 @@
$schema = [
'@type' => 'CreativeWork',
'@id' => $permalink . '#theme',
- 'name' => $term->name,
+ 'name' => html_entity_decode($term->name),
'description' => $meta->getValue('description') ?: $term->description,
'url' => $permalink,
'mainEntityOfPage' => [
@@ -1090,29 +1090,27 @@
private function getHomeSchema():array
{
// Main dataset schema for homepage
- $schema = [
- '@type' => 'WebPage',
- '@id' => get_home_url() . '/#webpage',
- 'url' => get_home_url(),
- 'name' => get_bloginfo('name') . ' | Edmonton\'s Best Tattoo Artists',
- 'description' => 'Discover Edmonton\'s top tattoo artists, shops, and styles. Your comprehensive guide to Edmonton\'s tattoo scene.',
- 'isPartOf' => [
- '@id' => get_home_url() . '/#website'
- ],
- 'about' => [
- '@type' => 'Dataset',
- 'name' => 'Edmonton Tattoo Artist Directory',
- 'description' => 'Comprehensive directory of professional tattoo artists in Edmonton, Alberta',
- 'creator' => [
- '@id' => 'https://legacytattooremoval.ca/#organization'
- ],
- 'publisher' => [
- '@id' => 'https://legacytattooremoval.ca/#organization'
- ]
- ],
- ];
-
- return $schema;
+ return [
+ '@type' => 'WebPage',
+ '@id' => get_home_url() . '/#webpage',
+ 'url' => get_home_url(),
+ 'name' => get_bloginfo('name') . ' | Edmonton\'s Best Tattoo Artists',
+ 'description' => 'Discover Edmonton\'s top tattoo artists, shops, and styles. Your comprehensive guide to Edmonton\'s tattoo scene.',
+ 'isPartOf' => [
+ '@id' => get_home_url() . '/#website'
+ ],
+ 'about' => [
+ '@type' => 'Dataset',
+ 'name' => 'Edmonton Tattoo Artist Directory',
+ 'description' => 'Comprehensive directory of professional tattoo artists in Edmonton, Alberta',
+ 'creator' => [
+ '@id' => 'https://legacytattooremoval.ca/#organization'
+ ],
+ 'publisher' => [
+ '@id' => 'https://legacytattooremoval.ca/#organization'
+ ]
+ ],
+ ];
}
/**
--
Gitblit v1.10.0