From 0d472cead5080fe116bc5d18658e1059198e03b9 Mon Sep 17 00:00:00 2001 From: JDGrimes Date: Thu, 19 Jun 2014 15:43:05 -0400 Subject: [PATCH] Update copy-pasted docs Fixes #5707 --- includes/class-wc-checkout.php | 9 ++++----- includes/class-wc-emails.php | 9 ++++----- includes/class-wc-payment-gateways.php | 9 ++++----- includes/class-wc-shipping.php | 9 ++++----- 4 files changed, 16 insertions(+), 20 deletions(-) diff --git a/includes/class-wc-checkout.php b/includes/class-wc-checkout.php index 18333f4bec2..76b25ad29c9 100644 --- a/includes/class-wc-checkout.php +++ b/includes/class-wc-checkout.php @@ -34,20 +34,19 @@ class WC_Checkout { private $customer_id; /** - * @var WooCommerce The single instance of the class + * @var WC_Checkout The single instance of the class * @since 2.1 */ protected static $_instance = null; /** - * Main WooCommerce Instance + * Main WC_Checkout Instance * - * Ensures only one instance of WooCommerce is loaded or can be loaded. + * Ensures only one instance of WC_Checkout is loaded or can be loaded. * * @since 2.1 * @static - * @see WC() - * @return Main WooCommerce instance + * @return WC_Checkout Main instance */ public static function instance() { if ( is_null( self::$_instance ) ) diff --git a/includes/class-wc-emails.php b/includes/class-wc-emails.php index fdd9dde8d5e..da8bce26d96 100644 --- a/includes/class-wc-emails.php +++ b/includes/class-wc-emails.php @@ -37,20 +37,19 @@ class WC_Emails { private $_content_type; /** - * @var WooCommerce The single instance of the class + * @var WC_Emails The single instance of the class * @since 2.1 */ protected static $_instance = null; /** - * Main WooCommerce Instance + * Main WC_Emails Instance * - * Ensures only one instance of WooCommerce is loaded or can be loaded. + * Ensures only one instance of WC_Emails is loaded or can be loaded. * * @since 2.1 * @static - * @see WC() - * @return Main WooCommerce instance + * @return WC_Emails Main instance */ public static function instance() { if ( is_null( self::$_instance ) ) diff --git a/includes/class-wc-payment-gateways.php b/includes/class-wc-payment-gateways.php index f3ca32b13ae..052efb68672 100644 --- a/includes/class-wc-payment-gateways.php +++ b/includes/class-wc-payment-gateways.php @@ -16,20 +16,19 @@ class WC_Payment_Gateways { var $payment_gateways; /** - * @var WooCommerce The single instance of the class + * @var WC_Payment_Gateways The single instance of the class * @since 2.1 */ protected static $_instance = null; /** - * Main WooCommerce Instance + * Main WC_Payment_Gateways Instance * - * Ensures only one instance of WooCommerce is loaded or can be loaded. + * Ensures only one instance of WC_Payment_Gateways is loaded or can be loaded. * * @since 2.1 * @static - * @see WC() - * @return Main WooCommerce instance + * @return WC_Payment_Gateways Main instance */ public static function instance() { if ( is_null( self::$_instance ) ) diff --git a/includes/class-wc-shipping.php b/includes/class-wc-shipping.php index 3dd62013b68..09ded58b2f1 100644 --- a/includes/class-wc-shipping.php +++ b/includes/class-wc-shipping.php @@ -34,20 +34,19 @@ class WC_Shipping { var $packages = array(); /** - * @var WooCommerce The single instance of the class + * @var WC_Shipping The single instance of the class * @since 2.1 */ protected static $_instance = null; /** - * Main WooCommerce Instance + * Main WC_Shipping Instance * - * Ensures only one instance of WooCommerce is loaded or can be loaded. + * Ensures only one instance of WC_Shipping is loaded or can be loaded. * * @since 2.1 * @static - * @see WC() - * @return Main WooCommerce instance + * @return WC_Shipping Main instance */ public static function instance() { if ( is_null( self::$_instance ) )