Add data type specification

This commit is contained in:
Jeremy Dormitzer 2018-09-22 00:42:09 -04:00
parent dce0b63ab3
commit bf3dc36eb2

View File

@ -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' ) );