WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 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:

Description

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_ 2 years ago.

Download all attachments as: .zip

Change History (4)

duck_2 years ago

comment:1 nacin2 years ago

Looks good.

comment:2 duck_2 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.

comment:3 duck_2 years ago

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