ignore phpcs warning

This commit is contained in:
Matthias Pfefferle 2023-07-28 09:50:30 +02:00
parent 799280a808
commit d2af87c259

View file

@ -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",