WOOCOMMERCE_TEMPLATE_PATH not dir, closes #3831
This commit is contained in:
parent
479e4b5f89
commit
fd86647420
|
@ -121,8 +121,8 @@ final class WooCommerce {
|
||||||
return $this->$key();
|
return $this->$key();
|
||||||
else switch( $key ) {
|
else switch( $key ) {
|
||||||
case 'template_url':
|
case 'template_url':
|
||||||
_deprecated_argument( 'Woocommerce->template_url', '2.1', 'WOOCOMMERCE_TEMPLATE_DIR constant' );
|
_deprecated_argument( 'Woocommerce->template_url', '2.1', 'WOOCOMMERCE_TEMPLATE_PATH constant' );
|
||||||
return WOOCOMMERCE_TEMPLATE_DIR;
|
return WOOCOMMERCE_TEMPLATE_PATH;
|
||||||
case 'messages':
|
case 'messages':
|
||||||
_deprecated_argument( 'Woocommerce->messages', '2.1', 'The "messages" field is moved to the messages helper class.' );
|
_deprecated_argument( 'Woocommerce->messages', '2.1', 'The "messages" field is moved to the messages helper class.' );
|
||||||
return $this->session->get( 'wc_messages', array() );
|
return $this->session->get( 'wc_messages', array() );
|
||||||
|
|
Loading…
Reference in New Issue