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

equalizedigital / accessibility-checker / 27984803991

22 Jun 2026 09:20PM UTC coverage: 59.567% (+0.007%) from 59.56%
27984803991

push

github

web-flow
Merge pull request #1785 from equalizedigital/release/1.44.0

[Backport] Release v1.44.0

1 of 2 new or added lines in 2 files covered. (50.0%)

5800 of 9737 relevant lines covered (59.57%)

5.48 hits per line

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

0.0
/includes/activation.php
1
<?php
2
/**
3
 * Accessibility Checker plugin file.
4
 *
5
 * @package Accessibility_Checker
6
 */
7

8
use EDAC\Admin\Accessibility_Statement;
9

10
if ( ! defined( 'ABSPATH' ) ) {
11
        exit;
12
}
13

14
/**
15
 * Activation
16
 *
17
 * @return void
18
 */
19
function edac_activation() {
20
        // set options.
21
        update_option( 'edac_activation_date', gmdate( 'Y-m-d H:i:s' ) );
×
22
        update_option( 'edac_post_types', [ 'post', 'page' ] );
×
23
        update_option( 'edac_simplified_summary_position', 'after' );
×
24

25
        Accessibility_Statement::add_page();
×
26

27
        // This is an add_option on purpose to not overwrite user settings on update.
28
        add_option( 'edacp_ignore_user_roles', [ 'administrator' ] );
×
29

30
        // New installs and existing sites that deactivate/reactivate both default to
31
        // showing the metabox in the block editor.
NEW
32
        add_option( 'edac_show_metabox_in_block_editor', '1' );
×
33

34
        // Set transient to trigger redirect to welcome page.
35
        // This will be checked on admin_init and deleted after redirect.
36
        set_transient( 'edac_activation_redirect', true, 60 );
×
37
}
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