[wp-trac] [WordPress Trac] #33496: Can't override wp_new_user_notification in child theme functions.php
WordPress Trac
noreply at wordpress.org
Fri Aug 21 19:49:30 UTC 2015
#33496: Can't override wp_new_user_notification in child theme functions.php
--------------------------+-----------------------------
Reporter: zero12345678 | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Users | Version: 4.3
Severity: normal | Resolution: invalid
Keywords: | Focuses: administration
--------------------------+-----------------------------
Changes (by ocean90):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Hello zero12345678, welcome to our trac.
A [https://codex.wordpress.org/Pluggable_Functions pluggable function]
like `wp_new_user_notification()` can't be overwritten by a theme. You
have to define your function in a plugin which is loaded before `wp-
includes/pluggable.php` gets included.
For further support please use our [https://wordpress.org/support/ Support
Forums].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33496#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list