From cfe11de50799d12e73637770e3ba3192aaca709b Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 10 Jun 2014 01:21:33 +0000 Subject: [PATCH] Fix a unit test for the now deprecated function `like_escape()`. Props miqrogroove. Fixes #10041. git-svn-id: https://develop.svn.wordpress.org/trunk@28714 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/formatting/LikeEscape.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/formatting/LikeEscape.php b/tests/phpunit/tests/formatting/LikeEscape.php index c72bbadc2b..db81d19e05 100644 --- a/tests/phpunit/tests/formatting/LikeEscape.php +++ b/tests/phpunit/tests/formatting/LikeEscape.php @@ -19,8 +19,8 @@ class Tests_Formatting_LikeEscape extends WP_UnitTestCase { $expected = array( "howdy\\%", 'howdy\\_', - 'howdy\\\\', - 'howdy\\\\howdy\\%howdy\\_' + 'howdy\\', + 'howdy\\howdy\\%howdy\\_' ); foreach ($inputs as $key => $input) {