Make WordPress Core


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

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

File:
1 edited

Legend:

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

    r7694 r7713  
    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.