#12438 closed defect (bug) (invalid)
doubled line @wp-login.php
| Reported by: | F J Kaiser | Owned by: | |
|---|---|---|---|
| Priority: | lowest | Milestone: | |
| Component: | General | Version: | 2.9.2 |
| Severity: | trivial | Keywords: | |
| Cc: | Focuses: |
Description
at line 146 in wp-login.php you got the following line doubled and the upper commented as "depracated". i don´t know if it's just something someone forgot, or anything else:
do_action('retreive_password', $user_login); Misspelled and deprecated
do_action('retrieve_password', $user_login);
should get deleted if not already.
Change History (5)
#2
follow-up:
↓ 3
@
16 years ago
Maybe we could remove it? It's been deprecated for quite some time, now...
#3
in reply to: ↑ 2
@
16 years ago
Replying to Denis-de-Bernardy:
Maybe we could remove it? It's been deprecated for quite some time, now...
We don't have a systematic way of marking deprecated hooks (something I've been considering), which means that unless the plugin noticed the added PHP comment in the source code, they'd never know.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
It's marked as misspelled and deprecated. We had it in there as misspelled for a while, so we can't just remove it and break any plugins hooking into it. Note s/retreive/retrieve/.