• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Yoast / wordpress-seo / 5066322038

pending completion
5066322038

push

github

GitHub
Merge pull request #20316 from Yoast/JRF/ghactions-run-more-selectively

2550 of 29012 relevant lines covered (8.79%)

0.32 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/presenters/debug/marker-close-presenter.php
1
<?php
2

3
namespace Yoast\WP\SEO\Presenters\Debug;
4

5
use Yoast\WP\SEO\Presenters\Abstract_Indexable_Presenter;
6

7
/**
8
 * Presenter class for the debug close marker.
9
 */
10
final class Marker_Close_Presenter extends Abstract_Indexable_Presenter {
11

12
        /**
13
         * Returns the debug close marker.
14
         *
15
         * @return string The debug close marker.
16
         */
17
        public function present() {
18
                /**
19
                 * Filter: 'wpseo_debug_markers' - Allow disabling the debug markers.
20
                 *
21
                 * @api bool $show_markers True when the debug markers should be shown.
22
                 */
23
                if ( ! \apply_filters( 'wpseo_debug_markers', true ) ) {
×
24
                        return '';
×
25
                }
26

27
                return \sprintf(
×
28
                        '<!-- / %s. -->',
×
29
                        \esc_html( $this->helpers->product->get_name() )
×
30
                );
×
31
        }
32

33
        /**
34
         * Gets the raw value of a presentation.
35
         *
36
         * @return string The raw value.
37
         */
38
        public function get() {
39
                return '';
×
40
        }
41
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc