From 281ed2a8c21ec37a7c7404bfb7fb25e5fc72a43c Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Mon, 23 Jan 2023 23:51:27 +0100 Subject: [PATCH] remove old shortcode code --- includes/model/class-post.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/model/class-post.php b/includes/model/class-post.php index 9eaab30..a052715 100644 --- a/includes/model/class-post.php +++ b/includes/model/class-post.php @@ -235,9 +235,6 @@ class Post { $post = $this->post; $content = $this->get_post_content_template(); - // Register the shortcodes. - $shortcodes = new \Activitypub\Shortcodes( $post ); - // Fill in the shortcodes. setup_postdata( $post ); $content = do_shortcode( $content );