From abbbc3836f980f47b702a8096f5d3b0a0cb7a11e Mon Sep 17 00:00:00 2001 From: Stefan Bohacek Date: Sun, 12 Feb 2023 09:59:40 -0500 Subject: [PATCH] Code cleanup. --- includes/newonbotwiki.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/includes/newonbotwiki.php b/includes/newonbotwiki.php index 6519aa3..219f753 100644 --- a/includes/newonbotwiki.php +++ b/includes/newonbotwiki.php @@ -160,11 +160,6 @@ public function post_update( $new_status, $old_status, $post ) { } } elseif ( $post->post_type === 'resource' ){ - log_this(array( - '$post_id' => $post_id - )); - - $post_terms = wp_get_post_terms( $post_id, 'resource_type' ); $term = $post_terms[0]; $resource_type = strtolower( $term->name );