WordPress.org

Make WordPress Core

Changeset 35165


Ignore:
Timestamp:
10/14/2015 09:59:14 PM (5 years ago)
Author:
boonebgorges
Message:

Fix incorrect variable names from [35164].

Cool story - the tests appeared to pass with the typos.

See #30017, #33968.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/admin/includesListTable.php

    r35164 r35165  
    3131
    3232            self::$top[ $i ] = $p;
    33             self::$post_ids[] = $p;
     33            self::$post_ids[] = $p->ID;
    3434        }
    3535
     
    4545
    4646                self::$children[ $top ][ $i ] = $p;
    47                 self::$post_ids[] = $p;
     47                self::$post_ids[] = $p->ID;
    4848            }
    4949        }
     
    6161
    6262                    self::$grandchildren[ $top ][ $child ][ $i ] = $p;
    63                     self::$post_ids = $p;
     63                    self::$post_ids[] = $p->ID;
    6464                }
    6565            }
Note: See TracChangeset for help on using the changeset viewer.