3 | | Ideally, I'd like to see the {{{wp_new_user_notification()}}} call within {{{register_new_user()}}} be replaced with an action, such as {{{new_user_registered}}}, and then the two new functions hooked to it as default actions, rendering {{{wp_new_user_notification()}}} deprecated. However, I know {{{wp_new_user_notification()}}} is used in other places, hence why I didn't propose this route in my patch. |
| 3 | Ideally, I'd like to see the {{{wp_new_user_notification()}}} call within {{{register_new_user()}}} be replaced with an action, such as {{{new_user_registered}}}, and then the two new functions hooked to it as default actions, rendering {{{wp_new_user_notification()}}} deprecated. However, I know {{{wp_new_user_notification()}}} is used in other places, hence why I didn't propose this route in my patch. This is actually why I added the filters to disable them instead. |