Make WordPress Core

Ticket #57718: 57718.diff

File 57718.diff, 510 bytes (added by sakibmd, 12 months ago)
  • tests/phpunit/tests/formatting/wpAutop.php

    diff --git a/tests/phpunit/tests/formatting/wpAutop.php b/tests/phpunit/tests/formatting/wpAutop.php
    index b9592155fe..6630782963 100644
    a b PS. Not yet subscribed for update notifications? <a href="%1$s" title="Subscri 
    158158        </mtable>
    159159</math>';
    160160
    161                 $this->assertSame( "<p>$str</p>", trim( wpautop( $str ) ) );
     161                $this->assertSameIgnoreEOL( "<p>$str</p>", trim( wpautop( $str ) ) );
    162162        }
    163163
    164164        /**