Jake Vanderwerf
2026-08-25 3d25ad7de4fdbb3eba2cde2a62422e6be5d79a0a
inc/managers/Dashboard/DashboardPage.php
@@ -47,7 +47,7 @@
         $this->slug.'_ID',
         function() use ($parentID) {
            $existing = new WP_Query([
               'post_type' => DashboardManager::$based,
               'post_type' => Dashboard::$based,
               'name'      => $this->slug,
               'fields' => 'ids',
               'posts_per_page'=> 1,
@@ -59,7 +59,7 @@
            $args = [
               'post_title'   => $this->title,
               'post_name'    => $this->slug,
               'post_type'    => DashboardManager::$based,
               'post_type'    => Dashboard::$based,
               'post_status'  => 'publish'
            ];
            if ($parentID > 0) {
@@ -83,7 +83,7 @@
   {
      if ($this->slug === 'dash') {
         $this->URL = get_post_type_archive_link(DashboardManager::$based);
         $this->URL = get_post_type_archive_link(Dashboard::$based);
         return;
      }
      $this->URL = get_the_permalink($this->ID);