Skip to content

Commit 281ed2a

Browse files
committed
remove old shortcode code
1 parent bd89066 commit 281ed2a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

includes/model/class-post.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,6 @@ public function generate_the_content() {
235235
$post = $this->post;
236236
$content = $this->get_post_content_template();
237237

238-
// Register the shortcodes.
239-
$shortcodes = new \Activitypub\Shortcodes( $post );
240-
241238
// Fill in the shortcodes.
242239
setup_postdata( $post );
243240
$content = do_shortcode( $content );

0 commit comments

Comments
 (0)