[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:18:35 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 dilipbheda):

 @Presskopp I found it in the GitHub repo here: -
 https://github.com/WordPress/wordpress-
 develop/blob/a04a13a1d0039b6054a4276def28eedecc9cb9ad/src/wp-
 includes/functions.php#L8122

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63267#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list