Merge pull request #16543 from mihaigrigori/master

\WC_Legacy_Cart::get_cart_for_session must return a value
This commit is contained in:
Mike Jolley 2017-08-21 11:57:16 +01:00 committed by GitHub
commit 3886987346
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ abstract class WC_Legacy_Cart {
public function get_cart_from_session() { $this->session->get_cart_from_session(); }
public function maybe_set_cart_cookies() { $this->session->maybe_set_cart_cookies(); }
public function set_session() { $this->session->set_session(); }
public function get_cart_for_session() { $this->session->get_cart_for_session(); }
public function get_cart_for_session() { return $this->session->get_cart_for_session(); }
public function persistent_cart_update() { $this->session->persistent_cart_update(); }
public function persistent_cart_destroy() { $this->session->persistent_cart_destroy(); }