Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#20274 closed defect (bug) (fixed)

Remove unused $field_no_prefix from sanitize_user_field()

Reported by: duck_'s profile duck_ Owned by: duck_'s profile 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_ 12 years ago.

Download all attachments as: .zip

Change History (4)

@duck_
12 years ago

#1 @nacin
12 years ago

Looks good.

#2 @duck_
12 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_
12 years ago

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