WordPress.org

Make WordPress Core

Ticket #10041: miqro-10041-part3.patch

File miqro-10041-part3.patch, 473 bytes (added by miqrogroove, 7 years ago)

Unit test for deprecated code.

  • tests/phpunit/tests/formatting/LikeEscape.php

     
    1919                $expected = array(
    2020                        "howdy\\%",
    2121                        'howdy\\_',
    22                         'howdy\\\\',
    23                         'howdy\\\\howdy\\%howdy\\_'
     22                        'howdy\\',
     23                        'howdy\\howdy\\%howdy\\_'
    2424                );
    2525
    2626                foreach ($inputs as $key => $input) {