From 47e77f9fac1155c536b2b87fec552c7fcce66fa6 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 01 Jun 2026 18:06:34 +0000
Subject: [PATCH] =Timeline block fixes. Next up: adding article schema classes
---
inc/users/UserSettings.php | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/inc/users/UserSettings.php b/inc/users/UserSettings.php
index 1a12bac..246d3c1 100644
--- a/inc/users/UserSettings.php
+++ b/inc/users/UserSettings.php
@@ -126,17 +126,19 @@
'section' => 'newsletter',
],
'owner_of' => [
- 'type' => 'taxonomy',
+ 'type' => 'selector',
+ 'subtype'=> 'taxonomy',
'label' => __('Owner of', 'jvb'),
- 'taxonomy_type' => 'reference',
+ 'isReference' => true,
'taxonomy' => BASE. 'shop',
'quickEdit' => true,
'default' => '',
],
'manager_of' => [
- 'type' => 'taxonomy',
+ 'type' => 'selector',
+ 'subtype' => 'taxonomy',
'label' => __('Manager of', 'jvb'),
- 'taxonomy_type' => 'reference',
+ 'isReference' => true,
'taxonomy' => BASE. 'shop',
'hidden' => true,
'default' => '',
@@ -169,7 +171,7 @@
<div class="notification-preferences">
<?php foreach ($favourites as $type => $items) : ?>
<details class="notification-group">
- <summary class="notification-group-header row btw">
+ <summary class="notification-group-header row x-btw">
<span class="type-label"><?=jvbIcon('heart', ['style' => 'fill'])?> <?= $notify[$type] ?></span>
<span class="type-count">( <?= count($items); ?> )</span>
</summary>
@@ -313,7 +315,7 @@
break;
case 'term':
$term = get_term($result->target_id, BASE.$type);
- $name = $term ? $term->name : '';
+ $name = $term ? html_entity_decode($term->name) : '';
break;
default:
$name = '';
--
Gitblit v1.10.0