[wp-trac] [WordPress Trac] #63267: Coding Standards: Check for an empty $old_email first in wp_site_admin_email_change_notification()
WordPress Trac
noreply at wordpress.org
Fri Apr 11 13:13:19 UTC 2025
#63267: Coding Standards: Check for an empty $old_email first in
wp_site_admin_email_change_notification()
--------------------------+-------------------------------
Reporter: dilipbheda | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
--------------------------+-------------------------------
Comment (by Presskopp):
How comes the code is different on
https://developer.wordpress.org/reference/functions/wp_site_admin_email_change_notification/
?
{{{
if ( 'you at example.com' === $old_email ) {
$send = false;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63267#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list