From 5a6906f710e9333507486df3cbb545a67a040881 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 24 May 2026 02:26:17 +0000
Subject: [PATCH] =Minor changes to email.php, which had info for Legacy and edmonton.ink hardcoded in it. Added a colours.php and JVB_COLOURS constant to define our base, contrast, action, and secondary colours for use within php templates
---
inc/managers/queue/executors/UploadExecutor.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/inc/managers/queue/executors/UploadExecutor.php b/inc/managers/queue/executors/UploadExecutor.php
index 11fec65..5f244d6 100644
--- a/inc/managers/queue/executors/UploadExecutor.php
+++ b/inc/managers/queue/executors/UploadExecutor.php
@@ -638,7 +638,7 @@
foreach($childPosts as $i => $imgID) {
$treatment = $i + 1;
- $child = $this->createTimelinePoint($imgID, $parent, $args['user'], $args['post_type'], $title, $treatment);
+ $child = $this->createTimelinePoint($imgID, $parent, $args['post_author'], $args['post_type'], $title, $treatment);
if ($child && !is_wp_error($child) && $child> 0 ) {
$createdChildren[] = $child;
$usedUploads[] = $imgID;
--
Gitblit v1.10.0