WordPress.org

Make WordPress Core

Changeset 10523


Ignore:
Timestamp:
02/08/09 04:16:58 (6 years ago)
Author:
azaozz
Message:

Fix PHP notice in force_balance_tags(), props beaulebens, fixes #9067

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/formatting.php

    r10459 r10523  
    849849        $tagqueue = ''; 
    850850        // Pop or Push 
    851         if ($regex[1][0] == "/") { // End Tag 
     851        if ( isset($regex[1][0]) && '/' == $regex[1][0] ) { // End Tag 
    852852            $tag = strtolower(substr($regex[1],1)); 
    853853            // if too many closing tags 
Note: See TracChangeset for help on using the changeset viewer.