WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#9067 closed defect (bug) (fixed)

force_balance_tags() triggers E_NOTICE error in some cases

Reported by: beaulebens Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: Cc:

Description

Just need to make sure an array element is there before checking its value.

Patch attached.

Attachments (1)

balance-tags-notice.diff (448 bytes) - added by beaulebens 5 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 azaozz5 years ago

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

(In [10523]) Fix PHP notice in force_balance_tags(), props beaulebens, fixes #9067

Note: See TracTickets for help on using tickets.