Opened 5 years ago
Last modified 4 years ago
#48745 reopened feature request
Disable Admin Email Verification Screen by Variable in wp-config.php (or other means)
Reported by: | jadonn | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.3 |
Component: | Users | Keywords: | has-patch |
Focuses: | administration | Cc: |
Description
After discussing the new admin email verification screen in this week's #hosting-community team Slack meeting, some members would like to be able to disable the admin email verification screen by setting a value in wp-config.php instead of adding filters to the websites they manage on behalf of their customers.
Could this (using a variable in wp-config.php) be a possible alternative for disabling the admin email verification screen?
If this is not an acceptable alternative, are there other acceptable alternatives?
Attachments (1)
Change History (13)
This ticket was mentioned in Slack in #hosting-community by jadonn. View the logs.
5 years ago
#4
@
5 years ago
- Keywords reporter-feedback added
- Resolution set to invalid
- Status changed from new to closed
Hello @jadonn,
Yes,We can do this by adding checkbox in settings.if checked then we disabled the admin email verification screen.
Thanks
#6
follow-up:
↓ 8
@
5 years ago
- Keywords close dev-feedback added
- Resolution set to worksforme
- Status changed from reopened to closed
Hello,
please check attached image and below code
Check if checkbox checked then disabled the email verification screen
<?php add_action('admin_init', 'disbled_email_verification_screen'); if(!function_exists('disbled_email_verification_screen')) { function disbled_email_verification_screen() { $email_veri_screen = (int)get_option('disabled_email_veri_screen'); if('1' == $email_veri_screen) { add_filter( 'admin_email_check_interval', '__return_false' ); } } }
This ticket was mentioned in Slack in #core by anant101289. View the logs.
5 years ago
#8
in reply to:
↑ 6
@
5 years ago
- Keywords reporter-feedback close dev-feedback removed
- Resolution worksforme deleted
- Status changed from closed to reopened
Replying to anant101289:
please check attached image and below code
Hi there, thanks for contributing to WordPress!
Tickets are generally closed as worksforme
when the bug reported in the ticket cannot be reproduced, which is not the case here. Please see The Bug Tracker (Trac) and Trac Workflow Keywords handbook articles for more details.
Reopening to continue the discussion.
Another team member from #hosting-community asked about disabling the admin email verification screen from within the WordPress admin dashboard settings, like through a toggle or check box. I wanted to mention that here as another possible alternative for managing this feature.