Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 7 months ago

#12438 closed defect (bug) (invalid)

doubled line @wp-login.php

Reported by: f-j-kaiser's profile F J Kaiser Owned by:
Milestone: Priority: lowest
Severity: trivial Version: 2.9.2
Component: General Keywords:
Focuses: Cc:

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)

#1 @nacin
15 years ago

  • Milestone Unassigned deleted
  • Resolution set to invalid
  • Status changed from new to closed

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/.

#2 follow-up: @Denis-de-Bernardy
15 years ago

Maybe we could remove it? It's been deprecated for quite some time, now...

#3 in reply to: ↑ 2 @nacin
15 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.

#4 @Denis-de-Bernardy
15 years ago

I was literally meaning removing it, and notifying the odd author or two that might still be using it. :-P

Note: See TracTickets for help on using tickets.