Jake Vanderwerf
2026-08-28 a9654f00c8fbc9934289d761843ddd071025013f
inc/managers/queue/executors/UploadExecutor.php
@@ -198,7 +198,7 @@
         }
      }
      $progress->advance(1);
      $progress->advance();
      return new Result(
         outcome: 'success',
@@ -269,7 +269,7 @@
            $this->applyMeta($attachmentId, $info);
            $updatedCount++;
            $progress->advance(1);
            $progress->advance();
         } catch (Exception $e) {
            $success = false;
@@ -308,7 +308,7 @@
            if (!empty($file['temp_path']) && file_exists($file['temp_path'])) {
               @unlink($file['temp_path']);
            }
            $progress->advance(1);
            $progress->advance();
         }
      }
@@ -412,7 +412,7 @@
               }
               $usedUploads = array_merge($usedUploads, $created['usedUploads']);
               $progress->advance(1);
               $progress->advance();
            }
         } catch (Exception $e) {
            $errors[] = $e->getMessage();
@@ -557,7 +557,7 @@
               if (array_key_exists($uploadId, $uploads)) {
                  $attachmentId = (int)$uploads[$uploadId]['attachment_id'];
                  if ($uploadId === $featured) {
                     $featuredID = $attachmentId;;
                     $featuredID = $attachmentId;
                  } else {
                     $childPosts[] = $attachmentId;
                  }