Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#5340 closed defect (bug) (fixed)

Regex warning in convert_smilies

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

Description

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 14 years ago.

Download all attachments as: .zip

Change History (3)

#1 @ryan
14 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
14 years ago

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