You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: class-pinterest-for-woocommerce.php
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -271,21 +271,21 @@ public function check_plugin_requirements() {
271
271
272
272
if ( ! version_compare( PHP_VERSION, self::PLUGIN_REQUIREMENTS['php_version'], '>=' ) ) {
273
273
/* Translators: The minimum PHP version */
274
-
$errors[] = sprintf( esc_html__( 'Pinterest For WooCommerce requires a minimum PHP version of %s.', 'pinterest-for-woocommerce' ), self::PLUGIN_REQUIREMENTS['php_version'] );
274
+
$errors[] = sprintf( esc_html__( 'Pinterest for WooCommerce requires a minimum PHP version of %s.', 'pinterest-for-woocommerce' ), self::PLUGIN_REQUIREMENTS['php_version'] );
275
275
}
276
276
277
277
if ( ! version_compare( $wp_version, self::PLUGIN_REQUIREMENTS['wp_version'], '>=' ) ) {
278
278
/* Translators: The minimum WP version */
279
-
$errors[] = sprintf( esc_html__( 'Pinterest For WooCommerce requires a minimum WordPress version of %s.', 'pinterest-for-woocommerce' ), self::PLUGIN_REQUIREMENTS['wp_version'] );
279
+
$errors[] = sprintf( esc_html__( 'Pinterest for WooCommerce requires a minimum WordPress version of %s.', 'pinterest-for-woocommerce' ), self::PLUGIN_REQUIREMENTS['wp_version'] );
$errors[] = sprintf( esc_html__( 'Pinterest For WooCommerce requires a minimum WooCommerce version of %s.', 'pinterest-for-woocommerce' ), self::PLUGIN_REQUIREMENTS['wc_version'] );
284
+
$errors[] = sprintf( esc_html__( 'Pinterest for WooCommerce requires a minimum WooCommerce version of %s.', 'pinterest-for-woocommerce' ), self::PLUGIN_REQUIREMENTS['wc_version'] );
285
285
}
286
286
287
287
if ( apply_filters( 'woocommerce_admin_disabled', false ) ) {
288
-
$errors[] = esc_html__( 'Pinterest For WooCommerce requires WooCommerce Admin to be enabled.', 'pinterest-for-woocommerce' );
288
+
$errors[] = esc_html__( 'Pinterest for WooCommerce requires WooCommerce Admin to be enabled.', 'pinterest-for-woocommerce' );
289
289
}
290
290
291
291
if ( empty( $errors ) ) {
@@ -702,7 +702,7 @@ public static function update_account_data() {
702
702
703
703
704
704
/**
705
-
* Fetches a fresh copy (if needed or explicitly requested), of the authenticated user's Linked business accounts.
705
+
* Fetches a fresh copy (if needed or explicitly requested), of the authenticated user's linked business accounts.
706
706
*
707
707
* @param boolean $force_refresh Wether to refresh the data from the API.
$merchant_name = apply_filters( 'pinterest_for_woocommerce_default_merchant_name', esc_html__( 'Auto Created by Pinterest For WooCommerce', 'pinterest-for-woocommerce' ) );
402
+
$merchant_name = apply_filters( 'pinterest_for_woocommerce_default_merchant_name', esc_html__( 'Auto-created by Pinterest for WooCommerce', 'pinterest-for-woocommerce' ) );
0 commit comments