[wp-trac] [WordPress Trac] #52464: The value of argument passed to the update_option_new_admin_email() is not a valid email.

WordPress Trac noreply at wordpress.org
Sun Feb 7 12:09:01 UTC 2021


#52464: The value of argument passed to the update_option_new_admin_email() is not
a valid email.
--------------------------+-----------------------------
 Reporter:  tremidkhar    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 While creating a patch for ticket #43706, I found out that the function
 `update_option_new_admin_email()` is responsible for the template. It does
 accept two parameters, however, the first parameter `$old_value` does not
 seem to get the correct value.

 When checking the value, it holds the value `new_admin_email` instead of
 the old email address.

 Thanks!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52464>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list