From 772462eeca3002a1d52508aeba485aab2b4742ad Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 03 Mar 2026 19:06:19 +0000
Subject: [PATCH] =MAJOR OVERHAUL. Likely should have made a new branch ages ago. Key changes: Registrar.php is the base for custom post types, taxonomies, and user roles. Replaces JVB_CONTENT, JVB_TAXONOMY, and JVB_USER constants, eliminates most of Features.php (except for JVB_SITE, JVB_MEMBERSHIP), and has built in sanitizing and validation via sub-classes. Also started a major overhaul of the Schema output. Created a shit ton of property traits and classes to help sanitize and ensure proper data for different schema types. Still a bunch to do, but better to be starting committing changes here on this other branch.
---
inc/users/UserSettings.php | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/inc/users/UserSettings.php b/inc/users/UserSettings.php
index 2fa3097..1ee08e9 100644
--- a/inc/users/UserSettings.php
+++ b/inc/users/UserSettings.php
@@ -313,7 +313,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 = '';
@@ -535,7 +535,7 @@
<section class="invite-artists">
<div class="invited-artist">
- <button type="button" onclick="removeArtist(this)" title="Remove Invite"><?=jvbIcon('delete')?></button>
+ <button type="button" onclick="removeArtist(this)" title="Remove Invite"><?=jvbIcon('trash')?></button>
<div>
<label for="invited-artist-name-1">First Name</label>
<input type="text" id="invited-artist-name-1" name="invited-artist-name-1">
@@ -551,13 +551,13 @@
</div>
</section>
<div class="actions">
- <button type="button" onclick="addArtist(this)" class="add-artist"><?= jvbIcon('add')?>Add Artist</button>
- <button type="button" onclick="sendInvites(this)" class="send-invites"><?=jvbIcon('email')?>Send Invites</button>
+ <button type="button" onclick="addArtist(this)" class="add-artist"><?= jvbIcon('plus-square')?>Add Artist</button>
+ <button type="button" onclick="sendInvites(this)" class="send-invites"><?=jvbIcon('envelope')?>Send Invites</button>
</div>
<template class="artistInvite">
<div class="invited-artist">
- <button type="button" onclick="removeArtist(this)" title="Remove Invite"><?=jvbIcon('delete')?></button>
+ <button type="button" onclick="removeArtist(this)" title="Remove Invite"><?=jvbIcon('trash')?></button>
<div>
<label for="invited-artist-name">First Name</label>
<input type="text" id="invited-artist-name" name="invited-artist-name">
@@ -608,11 +608,11 @@
</td>
<td class="actions">
<button type="button" data-action="revoke" title="Revoke Invitation" onclick="revokeInvite(this)">
- <?=jvbIcon('delete')?>
+ <?=jvbIcon('trash')?>
<span class="screen-reader-text">Revoke invite</span>
</button>
<button type="button" data-action="resend"<?=($invite['status'] === 'exipired') ? '' : ' disabled'?> title="Resend Invitation" onclick="resendInvite(this)">
- <?=jvbIcon('refresh')?>
+ <?=jvbIcon('arrows-clockwise')?>
<span class="screen-reader-text">Try Again</span>
</button>
</td>
--
Gitblit v1.10.0