From d2af87c259d300427cbb991acee20348100f4108 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Fri, 28 Jul 2023 09:50:30 +0200 Subject: [PATCH] ignore phpcs warning --- includes/model/class-follower.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/model/class-follower.php b/includes/model/class-follower.php index bd49343..dc48079 100644 --- a/includes/model/class-follower.php +++ b/includes/model/class-follower.php @@ -119,6 +119,7 @@ class Follower extends Actor { if ( ! $this->get__id() ) { global $wpdb; + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching $post_id = $wpdb->get_var( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE guid=%s",