Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#5340 closed defect (bug) (fixed)

Regex warning in convert_smilies

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

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

Download all attachments as: .zip

Change History (3)

#1 @ryan
19 years ago

  • Resolution → fixed
  • Status new → closed

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

#2 @lloydbudd
19 years ago

  • Milestone 2.5 → 2.4
Note: See TracTickets for help on using tickets.