From 8a7d557f7d69a0dbbba642136d91f1ba94076211 Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Tue, 28 Jan 2025 09:22:23 -0600 Subject: [PATCH] Outbox: Make post type non-hierarchical --- includes/class-activitypub.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/includes/class-activitypub.php b/includes/class-activitypub.php index 26bd6af66..21633c260 100644 --- a/includes/class-activitypub.php +++ b/includes/class-activitypub.php @@ -531,15 +531,12 @@ private static function register_post_types() { 'create_posts' => false, ), 'map_meta_cap' => true, - 'public' => true, - 'hierarchical' => true, 'rewrite' => false, 'query_var' => false, 'delete_with_user' => true, 'can_export' => true, - 'supports' => array(), + 'supports' => false, 'exclude_from_search' => true, - 'menu_icon' => 'dashicons-networking', ) );