Skip to content

Commit c91e36b

Browse files
authored
Code Coverage: Ignore Admin_Settings::add_settings_field_callback(). (#251)
This should be tested with E2E tests instead.
1 parent d350e05 commit c91e36b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

includes/class-admin-settings.php

+2
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,8 @@ public function register_settings() {
506506
/**
507507
* The Fields API which any CMS should have in its core but something we dont, hence this ugly hack.
508508
*
509+
* @codeCoverageIgnore Test with E2E tests instead.
510+
*
509511
* @param array $args The Field Parameters.
510512
*
511513
* @return void Echos the Field HTML.

0 commit comments

Comments
 (0)