[wp-trac] [WordPress Trac] #51379: Add filter to function email_exists()
WordPress Trac
noreply at wordpress.org
Wed Oct 14 23:46:37 UTC 2020
#51379: Add filter to function email_exists()
---------------------------------------------+-----------------------------
Reporter: apermo | Owner: SergeyBiryukov
Type: feature request | Status: closed
Priority: normal | Milestone: 5.6
Component: Users | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-dev-note commit | Focuses:
---------------------------------------------+-----------------------------
Comment (by garrett-eclipse):
Thanks @SergeyBiryukov, if we remove the @since on the function please do
so on the username_exists as well since we added it there.
I was going that way to expose the new filter to the function's phpdoc
pages that get generated so users looking up the known email_exists
function will be introduced to the change of behaviour that they can
control as the function now wraps a filter.
I'm ok with it off, just see it as a way to link the two together in doc
spaces and indicate the function can now behave differently than expected
if anything has hooked into that filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51379#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list