Make WordPress Core


Ignore:
Timestamp:
04/16/2008 11:09:37 PM (18 years ago)
Author:
ryan
Message:

array_shift() error fixes from DD32. fixes #6499 for 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-includes/post.php

    r7695 r7712  
    24262426            $icon_files = array();
    24272427            while ( $dirs ) {
    2428                 $dir = array_shift(array_keys($dirs));
     2428                $dir = array_shift($keys = array_keys($dirs));
    24292429                $uri = array_shift($dirs);
    24302430                if ( $dh = opendir($dir) ) {
Note: See TracChangeset for help on using the changeset viewer.