Make WordPress Core

Changeset 24584


Ignore:
Timestamp:
07/08/2013 01:54:19 PM (12 years ago)
Author:
nacin
Message:

Avoid possible array collision in dbDelta when recording index adds. props apimlott, wonderboymusic. fixes #21272.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/upgrade.php

    r24448 r24584  
    16531653            // Push a query line into $cqueries that adds the index to that table
    16541654            $cqueries[] = "ALTER TABLE {$table} ADD $index";
    1655             $for_update[$table.'.'.$fieldname] = 'Added index '.$table.' '.$index;
     1655            $for_update[] = 'Added index ' . $table . ' ' . $index;
    16561656        }
    16571657
Note: See TracChangeset for help on using the changeset viewer.