Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#33537 closed defect (bug) (fixed)

Incorrect inline docs for user_profile_update_errors action

Reported by: johnbillion's profile johnbillion Owned by: johnbillion's profile johnbillion
Milestone: 4.4 Priority: normal
Severity: minor Version: 3.8
Component: Administration Keywords: good-first-bug has-patch
Focuses: docs Cc:

Description

The $errors parameter of the user_profile_update_errors action is a WP_Error object, not an array as stated in its docs.

Introduced in [26503].

Attachments (1)

33537.diff (701 bytes) - added by yamchhetri 9 years ago.
Fixing inline doc

Download all attachments as: .zip

Change History (7)

#1 @johnbillion
9 years ago

  • Summary changed from Icorrect inline docs for user_profile_update_errors action to Incorrect inline docs for user_profile_update_errors action

@yamchhetri
9 years ago

Fixing inline doc

#2 @yamchhetri
9 years ago

  • Keywords has-patch dev-feedback added; needs-patch removed

Patch added.

#3 @johnbillion
9 years ago

  • Keywords dev-feedback removed
  • Milestone changed from Awaiting Review to 4.4

#4 @johnbillion
9 years ago

  • Owner set to johnbillion
  • Resolution set to fixed
  • Status changed from new to closed

In 33769:

Correct the hook docs for the user_profile_update_errors action.

Fixes #33537
Props yamchhetri

#5 @johnbillion
9 years ago

Thanks yamchhetri! In the future, please remember to generate your patches from the root of your WordPress installation (that way the file name isn't ambiguous).

#6 @yamchhetri
9 years ago

I will keep that in mind. Thanks for accepting my patch. Good day.

Note: See TracTickets for help on using tickets.