Merge branch 'update/marketplace-1' into fix/admin-helper-views-main-phpcs

This commit is contained in:
And Finally 2021-08-03 09:33:31 +01:00
commit e92f99d8ee
2 changed files with 2 additions and 5 deletions

View File

@ -51,8 +51,7 @@ class WC_Settings_Emails extends WC_Settings_Page {
'https://wordpress.org/plugins/wp-mail-logging/',
'https://docs.woocommerce.com/document/email-faq'
);
$settings = apply_filters(
'woocommerce_email_settings',
$settings =
array(
array(
'title' => __( 'Email notifications', 'woocommerce' ),
@ -217,8 +216,7 @@ class WC_Settings_Emails extends WC_Settings_Page {
'type' => 'sectionend',
'id' => 'email_merchant_notes',
),
)
);
);
return apply_filters( 'woocommerce_email_settings', $settings );
}

View File

@ -5,7 +5,6 @@
* @package WooCommerce\Tests\Settings
*/
use Automattic\WooCommerce\Testing\Tools\CodeHacking\Hacks\FunctionsMockerHack;
use Automattic\WooCommerce\Testing\Tools\CodeHacking\Hacks\StaticMockerHack;
require_once __DIR__ . '/class-wc-settings-unit-test-case.php';