Remove database quote escapes.
authorjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Apr 2016 15:42:24 +0000 (15:42 +0000)
committerjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Apr 2016 15:42:24 +0000 (15:42 +0000)
Reviewed by Timothy Hatcher.

* wp-content/plugins/tweet-listener.php:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@199491 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/webkit.org/ChangeLog
Websites/webkit.org/wp-content/plugins/tweet-listener.php

index c810a32..97a7be7 100644 (file)
@@ -1,5 +1,13 @@
 2016-04-13  Jon Davis  <jond@apple.com>
 
+        Remove database quote escapes.
+
+        Reviewed by Timothy Hatcher.
+
+        * wp-content/plugins/tweet-listener.php:
+
+2016-04-13  Jon Davis  <jond@apple.com>
+
         Added background color for Safari Technology Preview posts.
 
         Reviewed by Timothy Hatcher.
index 5a8310e..9b283ea 100644 (file)
@@ -49,7 +49,7 @@ class TweetListener {
 
         $Tweet = new StdClass();
         $Tweet->id = substr($data->link, strrpos($data->link, '/') + 1);
-        $Tweet->text = $data->text;
+        $Tweet->text = stripslashes($data->text);
 
         $Tweet->entities = new StdClass();
         $Tweet->entities->urls = array();