Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#5340 closed defect (bug) (fixed)

Regex warning in convert_smilies

Reported by: tellyworth's profile tellyworth Owned by:
Milestone: 2.5 Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:


It's possible for convert_smilies() to produce warnings if the $wp_smiliessearch global is empty. The enclosed patch is a simple defensive conditional to guard against that possbility.

Attachments (1)

empty-smilie-regex-r6307.patch (715 bytes) - added by tellyworth 17 years ago.

Download all attachments as: .zip

Change History (3)

#1 @ryan
17 years ago

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

(In [6331]) Eliminate warnings in convert_smilies. Props tellyworth. fixes #5340

#2 @lloydbudd
17 years ago

  • Milestone changed from 2.5 to 2.4
Note: See TracTickets for help on using tickets.