Skip to content

Commit 398444d

Browse files
committed
Merge remote-tracking branch 'origin/release/1.36.0' into release/1.36.0
2 parents 917d0fb + 029da94 commit 398444d

4 files changed

Lines changed: 11 additions & 10 deletions

File tree

admin/class-activation-redirect.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @package Accessibility_Checker\Admin
66
*/
77

8-
namespace EDAC\Admin;
8+
namespace EqualizeDigital\AccessibilityChecker\Admin;
99

1010
if ( ! defined( 'ABSPATH' ) ) {
1111
exit; // Exit if accessed directly.
@@ -16,22 +16,22 @@
1616
*
1717
* Handles redirecting to the welcome page after plugin activation.
1818
*
19-
* @since 1.35.0
19+
* @since 1.36.0
2020
*/
2121
class Activation_Redirect {
2222

2323
/**
2424
* The page slug for the welcome page.
2525
*
26-
* @since 1.35.0
26+
* @since 1.36.0
2727
* @var string
2828
*/
2929
const WELCOME_PAGE_SLUG = 'accessibility_checker';
3030

3131
/**
3232
* Initialize the activation redirect.
3333
*
34-
* @since 1.35.0
34+
* @since 1.36.0
3535
*/
3636
public function init(): void {
3737
add_action( 'admin_init', [ $this, 'maybe_redirect_to_welcome' ] );
@@ -40,7 +40,7 @@ public function init(): void {
4040
/**
4141
* Get the welcome page URL.
4242
*
43-
* @since 1.35.0
43+
* @since 1.36.0
4444
* @return string The URL to the welcome page.
4545
*/
4646
public function get_welcome_page_url(): string {
@@ -57,7 +57,7 @@ public function get_welcome_page_url(): string {
5757
* - We're not activating multiple plugins at once
5858
* - User has permission to access the welcome page
5959
*
60-
* @since 1.35.0
60+
* @since 1.36.0
6161
* @return void
6262
*/
6363
public function maybe_redirect_to_welcome(): void {

admin/class-admin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
use EDAC\Admin\Post_Save;
1414
use EqualizeDigital\AccessibilityChecker\Admin\Upgrade_Promotion;
1515
use EqualizeDigital\AccessibilityChecker\Admin\Admin_Footer_Text;
16+
use EqualizeDigital\AccessibilityChecker\Admin\Activation_Redirect;
1617

1718
/**
1819
* Admin handling class.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/phpunit/Admin/ActivationRedirectTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
*/
77

88
use PHPUnit\Framework\TestCase;
9-
use EDAC\Admin\Activation_Redirect;
9+
use EqualizeDigital\AccessibilityChecker\Admin\Activation_Redirect;
1010

1111
/**
1212
* Class Activation_Redirect_Test
1313
*
14-
* @covers \EDAC\Admin\Activation_Redirect
14+
* @covers \EqualizeDigital\AccessibilityChecker\Admin\Activation_Redirect
1515
*/
1616
class ActivationRedirectTest extends WP_UnitTestCase {
1717

0 commit comments

Comments
 (0)