Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#20274 closed defect (bug) (fixed)

Remove unused $field_no_prefix from sanitize_user_field()

Reported by: duck_ Owned by: duck_
Milestone: 3.4 Priority: normal
Severity: normal Version: 2.9
Component: General Keywords: has-patch
Focuses: Cc:


Since the introduction of sanitize_user_field() in [11929] for #10751 $field_no_prefix has been unused and has some confusing documentation associated with it. Both the variable declaration and the documentation can be removed.

Attachments (1)

20274.diff (1.9 KB) - added by duck_ 4 years ago.

Download all attachments as: .zip

Change History (4)

4 years ago

#1 @nacin
4 years ago

Looks good.

#2 @duck_
4 years ago

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

In [20239]:

Remove unused $field_no_prefix variable and associated documentation from sanitize_user_field(). Fixes #20274.

#3 @duck_
4 years ago

  • Milestone changed from Awaiting Review to 3.4
Note: See TracTickets for help on using tickets.