[wp-trac] [WordPress Trac] #15725: "Skip Confirmation Email" checkbox value is ignored
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 25 22:23:29 UTC 2011
#15725: "Skip Confirmation Email" checkbox value is ignored
--------------------------+-----------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.1
Component: Users | Version: 3.1.3
Severity: normal | Resolution:
Keywords: |
--------------------------+-----------------------
Comment (by nacin):
{{{
if ( isset( $_POST[ 'noconfirmation' ] ) && is_super_admin() ) {
add_filter( 'wpmu_signup_user_notification', '__return_false' );
// Disable confirmation email
}
}}}
That code should prevent wpmu_signup_user_notification() from firing off
an email. I'm looking at 3.1 code for this.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15725#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list