WordPress.org

Make WordPress Core

Changeset 8086


Ignore:
Timestamp:
06/14/2008 05:22:52 PM (10 years ago)
Author:
ryan
Message:

Passing categories by ref screws up internal array pointer when recursing. fixes #7138 #7136

File:
1 edited

Legend:

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

    r8079 r8086  
    1111}
    1212
    13 function _cat_rows( &$categories, &$count, $parent = 0, $level = 0, $page = 1, $per_page = 20 ) {
     13function _cat_rows( $categories, &$count, $parent = 0, $level = 0, $page = 1, $per_page = 20 ) {
    1414    if ( empty($categories) ) {
    1515        $args = array('hide_empty' => 0);
Note: See TracChangeset for help on using the changeset viewer.