WC_Object_Data_Store::delete always not force delete

This commit is contained in:
Claudio Sanches 2016-11-09 02:37:50 -02:00
parent 208fa011b9
commit 3a2ebb854d
1 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ if ( ! defined( 'ABSPATH' ) ) {
* @author WooThemes
*/
interface WC_Object_Data_Store {
/**
* Method to create a new record of a WC_Data based object.
* @param WC_Data
@ -34,5 +35,5 @@ interface WC_Object_Data_Store {
* @param WC_Data
* @param bool $force_delete True to permently delete, false to trash.
*/
public function delete( &$data, $force_delete );
public function delete( &$data, $force_delete = false );
}