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

equalizedigital / accessibility-checker / 22024231170

14 Feb 2026 09:04PM UTC coverage: 57.263%. First build
22024231170

Pull #1413

github

web-flow
Merge c07f857fb into 1cbcfbf9b
Pull Request #1413: Fix loopback helper warning on DNS AAAA failures

27 of 81 new or added lines in 24 files covered. (33.33%)

4147 of 7242 relevant lines covered (57.26%)

3.47 hits per line

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

96.3
/admin/class-plugin-row-meta.php
1
<?php
2
/**
3
 * Plugin Row Meta class file for the Accessibility Checker plugin.
4
 *
5
 * @package Accessibility_Checker
6
 */
7

8
namespace EDAC\Admin;
9

10
if ( ! defined( 'ABSPATH' ) ) {
2✔
NEW
11
        exit;
×
12
}
13

14
/**
15
 * Plugin Row Meta handling class.
16
 *
17
 * @since 1.27.0
18
 */
19
class Plugin_Row_Meta {
20

21
        /**
22
         * Initialize hooks.
23
         *
24
         * @since 1.27.0
25
         *
26
         * @return void
27
         */
28
        public function init_hooks(): void {
29
                if ( defined( 'EDAC_PLUGIN_FILE' ) ) {
4✔
30
                        add_filter( 'plugin_row_meta', [ $this, 'add_plugin_row_meta' ], 10, 2 );
4✔
31
                }
32
        }
33

34
        /**
35
         * Add plugin row meta.
36
         *
37
         * Adds row meta links to the plugin list table
38
         *
39
         * Fired by `plugin_row_meta` filter.
40
         *
41
         * @since 1.27.0
42
         * @access public
43
         *
44
         * @param array  $plugin_meta An array of the plugin's metadata, including
45
         *                            the version, author, author URI, and plugin URI.
46
         * @param string $plugin_file Path to the plugin file, relative to the plugins
47
         *                            directory.
48
         *
49
         * @return array An array of plugin row meta links.
50
         */
51
        public function add_plugin_row_meta( $plugin_meta, $plugin_file ): array {
52
                if ( plugin_basename( EDAC_PLUGIN_FILE ) === $plugin_file ) {
18✔
53
                        $row_meta = [
16✔
54
                                'docs'    => sprintf(
16✔
55
                                        '<a href="%1$s" aria-label="%2$s" target="_blank">%3$s</a>',
16✔
56
                                        esc_url( edac_link_wrapper( 'https://equalizedigital.com/accessibility-checker/documentation/', 'plugin-row-meta', 'documentation', false ) ),
16✔
57
                                        esc_attr__( 'View Accessibility Checker Documentation (opens in new window)', 'accessibility-checker' ),
16✔
58
                                        esc_html__( 'Documentation', 'accessibility-checker' )
16✔
59
                                ),
16✔
60
                                'support' => sprintf(
16✔
61
                                        '<a href="%1$s" aria-label="%2$s" target="_blank">%3$s</a>',
16✔
62
                                        esc_url( edac_link_wrapper( 'https://equalizedigital.com/support/', 'plugin-row-meta', 'support', false ) ),
16✔
63
                                        esc_attr__( 'Get support for Accessibility Checker (opens in new window)', 'accessibility-checker' ),
16✔
64
                                        esc_html__( 'Support', 'accessibility-checker' )
16✔
65
                                ),
16✔
66
                                'rate'    => sprintf(
16✔
67
                                        '<a href="%1$s" aria-label="%2$s" target="_blank">%3$s</a>',
16✔
68
                                        esc_url( 'https://wordpress.org/support/plugin/accessibility-checker/reviews/#new-post' ),
16✔
69
                                        esc_attr__( 'Rate Accessibility Checker plugin (opens in new window)', 'accessibility-checker' ),
16✔
70
                                        esc_html__( 'Rate plugin', 'accessibility-checker' )
16✔
71
                                ),
16✔
72
                        ];
16✔
73

74
                        $plugin_meta = array_merge( $plugin_meta, $row_meta );
16✔
75
                }
76

77
                return $plugin_meta;
18✔
78
        }
79
}
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