WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#4350 closed defect (bug) (fixed)

Input to bool_from_yn must be normalised

Reported by: donncha Owned by: rob1n
Milestone: 2.3 Priority: normal
Severity: normal Version:
Component: Administration Keywords:
Focuses: Cc:

Description

bool_from_yn() expects uppercase characters as input. The following patch adds strtoupper().

Attachments (1)

patch.diff (301 bytes) - added by donncha 8 years ago.

Download all attachments as: .zip

Change History (3)

@donncha8 years ago

comment:1 @rob1n8 years ago

  • Owner changed from anonymous to rob1n
  • Status changed from new to assigned

comment:2 @rob1n8 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [5572]) Turn string to upper. Props Donncha. fixes #4350

Note: See TracTickets for help on using tickets.