use esc_sql
This commit is contained in:
parent
5b712fb7cd
commit
d00b7b54f2
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class Followers {
|
||||||
'type' => 'string',
|
'type' => 'string',
|
||||||
'single' => true,
|
'single' => true,
|
||||||
'sanitize_callback' => function( $value ) {
|
'sanitize_callback' => function( $value ) {
|
||||||
return sanitize_text_field( $value );
|
return esc_sql( $value );
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue