WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 5 years ago

#3671 closed enhancement (wontfix)

Provide additional information in user-related hooks

Reported by: ketsugi Owned by: anonymous
Priority: low Milestone:
Component: Administration Version: 2.1
Severity: normal Keywords: plugin hook development
Cc:

Description

Giving a couple of hooks some extra information to pass to plugins. Because of the way the WP plugin API is implemented, giving these hooks the ability to pass more parameters does not actually break any existing plugins.

Attachments (2)

wp-login.php.diff (1.6 KB) - added by ketsugi 6 years ago.
admin-db.php.diff (413 bytes) - added by ketsugi 6 years ago.

Download all attachments as: .zip

Change History (11)

ketsugi6 years ago

comment:1 ketsugi6 years ago

  • Summary changed from Provide additional information in login/logout hooks to Provide additional information in user-related hooks

ketsugi6 years ago

comment:2 markjaquith6 years ago

first two patches aren't providing data that couldn't be fetched using the existing passed data.

comment:3 Viper007Bond6 years ago

Let's not expand on a deprecated hook, i.e. retreive_password.

comment:4 foolswisdom6 years ago

  • Milestone changed from 2.2 to 2.4

comment:5 thee175 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

comment:6 thee175 years ago

  • Milestone 2.5 deleted

comment:7 pishmishy5 years ago

  • Resolution wontfix deleted
  • Status changed from closed to reopened

Please can you leave a comment explaining why you've closed the ticket.

comment:8 lloydbudd5 years ago

  • Milestone set to 2.7

All open tickets should have a milestone.

comment:9 azaozz5 years ago

  • Milestone 2.7 deleted
  • Resolution set to wontfix
  • Status changed from reopened to closed

Is this still needed? Seems like the extra info can be accessed through the global user object. Closing as wontfix, feel free to reopen if needed.

Note: See TracTickets for help on using tickets.