This commit is contained in:
Mike Jolley 2017-04-10 21:52:06 +01:00
parent e14d85d0a3
commit 76d962b606
1 changed files with 2 additions and 0 deletions

View File

@ -133,6 +133,8 @@ abstract class WC_Data {
/**
* When the object is cloned, make sure meta is duplicated correctly.
*
* @since 3.0.2
*/
public function __clone() {
$this->maybe_read_meta_data();