[wp-trac] [WordPress Trac] #28352: New filters in wp-activate.php
WordPress Trac
noreply at wordpress.org
Thu Jun 9 20:23:50 UTC 2016
#28352: New filters in wp-activate.php
------------------------------------+-----------------------------
Reporter: UmeshSingla | Owner: voldemortensen
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.6
Component: Login and Registration | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses: multisite
------------------------------------+-----------------------------
Comment (by flixos90):
An alternative approach would be short-circuiting the process of
generating messages with a `pre_signup_activation_error` and
`pre_signup_activation_success`. These could be passed a `false` (plus the
other parameters) and if it returns anything other than that, do not
continue.
Or we could be more specific and say if the filter returns a string, it is
assumed to be a replacement message that we then print out before
stopping.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28352#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list