Ticket #5340 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Regex warning in convert_smilies

Reported by: tellyworth Assigned to: anonymous
Priority: normal Milestone: 2.5
Component: General Version:
Severity: normal Keywords:
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

empty-smilie-regex-r6307.patch (0.7 kB) - added by tellyworth on 11/11/07 22:04:14.

Change History

11/11/07 22:04:14 changed by tellyworth

  • attachment empty-smilie-regex-r6307.patch added.

11/12/07 19:33:06 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

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

11/12/07 20:57:10 changed by lloydbudd

  • milestone changed from 2.5 to 2.4.