ignore phpcs warning
This commit is contained in:
parent
799280a808
commit
d2af87c259
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ class Follower extends Actor {
|
||||||
if ( ! $this->get__id() ) {
|
if ( ! $this->get__id() ) {
|
||||||
global $wpdb;
|
global $wpdb;
|
||||||
|
|
||||||
|
// phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching
|
||||||
$post_id = $wpdb->get_var(
|
$post_id = $wpdb->get_var(
|
||||||
$wpdb->prepare(
|
$wpdb->prepare(
|
||||||
"SELECT ID FROM $wpdb->posts WHERE guid=%s",
|
"SELECT ID FROM $wpdb->posts WHERE guid=%s",
|
||||||
|
|
Loading…
Reference in a new issue