From 81c679181ccceee466baa12a1f04c5db4fba48b9 Mon Sep 17 00:00:00 2001 From: Timmy Crawford Date: Tue, 9 Apr 2019 10:18:47 -0700 Subject: [PATCH] PHPCS fixes. --- includes/admin/settings/class-wc-settings-advanced.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/includes/admin/settings/class-wc-settings-advanced.php b/includes/admin/settings/class-wc-settings-advanced.php index 9a355af62c8..8ef22c4cf2c 100644 --- a/includes/admin/settings/class-wc-settings-advanced.php +++ b/includes/admin/settings/class-wc-settings-advanced.php @@ -58,7 +58,8 @@ class WC_Settings_Advanced extends WC_Settings_Page { if ( '' === $current_section ) { $settings = apply_filters( - 'woocommerce_settings_pages', array( + 'woocommerce_settings_pages', + array( array( 'title' => __( 'Page setup', 'woocommerce' ), @@ -303,7 +304,8 @@ class WC_Settings_Advanced extends WC_Settings_Page { $tracking_info_text = sprintf( '%s', 'https://woocommerce.com/usage-tracking', esc_html__( 'WooCommerce.com Usage Tracking Documentation', 'woocommerce' ) ); $settings = apply_filters( - 'woocommerce_com_integration_settings', array( + 'woocommerce_com_integration_settings', + array( array( 'title' => esc_html__( 'Usage Tracking', 'woocommerce' ), 'type' => 'title', @@ -349,7 +351,8 @@ class WC_Settings_Advanced extends WC_Settings_Page { ); } elseif ( 'legacy_api' === $current_section ) { $settings = apply_filters( - 'woocommerce_settings_rest_api', array( + 'woocommerce_settings_rest_api', + array( array( 'title' => '', 'type' => 'title',