Make WordPress Core

Ticket #25632: 25632.1.diff

File 25632.1.diff, 455 bytes (added by atimmer, 11 years ago)
  • tests/phpunit/tests/post/attachments.php

     
    1616                parent::tearDown();
    1717        }
    1818
    19         function _make_attachment($upload, $parent_post_id=-1) {
     19        function _make_attachment($upload, $parent_post_id=0) {
    2020
    2121                $type = '';
    2222                if ( !empty($upload['type']) ) {