Jake Vanderwerf
2026-05-01 48721c85ebcfa973ee81719d2467ca80e4253dc9
inc/registrar/helpers/MakeTrackChanges.php
@@ -37,7 +37,7 @@
      $table->setKeys([
         ['key' => 'PRIMARY', 'value' => '(`id`)'],
         ['key' => 'UNIQUE', 'value' => '(`profile_id`, `term_id`, `start_date`)'],
         ['key' => 'UNIQUE', 'value' => 'profile_term_date (`profile_id`, `term_id`, `start_date`)'],
         'content_role (`term_id`, `role`)',
         'user_id (`user_id`)',
         'profile_id (`profile_id`)',
@@ -62,7 +62,7 @@
         return;
      }
      $user = get_post_meta($object_id, BASE.'link', true);
      $user = get_post_meta($object_id, BASE.'profile_link', true);
      if (empty($author)) {
         $user = get_post($object_id)->post_author??false;
         if (!$user) {