Add data type specification
This commit is contained in:
parent
dce0b63ab3
commit
bf3dc36eb2
@ -195,6 +195,7 @@ function delete_object( $object ) {
|
||||
'type' => $tombstone['type'],
|
||||
'object' => wp_json_encode( $tombstone ),
|
||||
),
|
||||
array( '%s', '%s', '%s' )
|
||||
);
|
||||
if ( !$res ) {
|
||||
return new \WP_Error( 'db_error', __( 'Error deleting object', 'pterotype' ) );
|
||||
|
Loading…
Reference in New Issue
Block a user