Skip to content

Remove v4 beta notice permanently on close button click#2565

Open
sazedul-haque wants to merge 2 commits intodevfrom
v4-beta-notice
Open

Remove v4 beta notice permanently on close button click#2565
sazedul-haque wants to merge 2 commits intodevfrom
v4-beta-notice

Conversation

@sazedul-haque
Copy link
Copy Markdown
Collaborator

No description provided.

@sazedul-haque sazedul-haque requested a review from shewa12 April 15, 2026 07:21
@sazedul-haque sazedul-haque added the v3 Tutor 3.0 label Apr 15, 2026
Comment thread classes/Admin.php
if ( ! isset( $_GET['tutor_dismiss_v4_beta_notice'] ) ) {
return;
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to check user is admin

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case, other users who has access to the admin panel will see the notice but won't be able to close it.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v3 Tutor 3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants