fixing typo in product classes

This commit is contained in:
Patrick Rauland 2014-03-21 16:41:32 -05:00 committed by Mike Jolley
parent 4cf8152602
commit c4201add98
3 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ class WC_Product_External extends WC_Product {
* Returns false if the product cannot be bought.
*
* @access public
* @return cool
* @return bool
*/
public function is_purchasable() {
return apply_filters( 'woocommerce_is_purchasable', false, $this );
@ -85,4 +85,4 @@ class WC_Product_External extends WC_Product {
public function get_button_text() {
return $this->button_text ? $this->button_text : __( 'Buy product', 'woocommerce' );
}
}
}

View File

@ -154,7 +154,7 @@ class WC_Product_Grouped extends WC_Product {
* Returns false if the product cannot be bought.
*
* @access public
* @return cool
* @return bool
*/
public function is_purchasable() {
return apply_filters( 'woocommerce_is_purchasable', false, $this );

View File

@ -240,7 +240,7 @@ class WC_Product_Variation extends WC_Product {
* Returns false if the product cannot be bought.
*
* @access public
* @return cool
* @return bool
*/
public function is_purchasable() {