{"id":802,"date":"2006-12-08T17:58:23","date_gmt":"2006-12-08T22:58:23","guid":{"rendered":"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=802"},"modified":"2006-12-08T20:34:32","modified_gmt":"2006-12-09T01:34:32","slug":"wordpress-bug","status":"publish","type":"post","link":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=802","title":{"rendered":"WordPress Bug?"},"content":{"rendered":"<p>Here is a strange one for you.  Open up WordPress, and make a new post.  Into this post put the words:<\/p>\n<p>&#8220;Delete&#8221;<\/p>\n<p>Then the word:<\/p>\n<p>&#8220;from&#8221;<\/p>\n<p>Hit save.<\/p>\n<p>Watch WordPress puke all over itself. <\/p>\n<p>This is a very strange bug.  Both words must appear in that order with no other letters between them, but you can have line-breaks between them and it still happens.  What on earth is going on here?<\/p>\n<p>The problem surfaced when I tried to edit <a href=\"?p=566\">this old post<\/a>.  I saw a typo I wanted to correct, so I edited the post and hit save, which led to the Bizzare error:<\/p>\n<p><em><b>Precondition Failed<\/b><br \/>\nThe precondition on the request for the URL \/twentysidedtale\/wp-admin\/post.php evaluated to false.<\/em><\/p>\n<p>Halfway down the page I quote Lileks, and that quote contains the deadly words.  It took me a long, long time to figure out what the problem was.   Obviously I wrote that post in an earlier version of WordPress that doesn&#8217;t have this bug, and now that I&#8217;ve upgraded I can&#8217;t edit the post without removing those words.  I spent a long time removing secitions of the post until I had isolated the offending words.  <\/p>\n<p>One guess is that the phrase &#8220;de1ete from&#8221; is getting misunderstood or misused as part of a command to mySQL.  Still, that really shouldn&#8217;t happen. <\/p>\n<p>FURTHER NOTE: I&#8217;m using WP 2.0.2 and I have the fancy-pants editor turned off.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is a strange one for you. Open up WordPress, and make a new post. Into this post put the words: &#8220;Delete&#8221; Then the word: &#8220;from&#8221; Hit save. Watch WordPress puke all over itself. This is a very strange bug. Both words must appear in that order with no other letters between them, but you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-802","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=802"}],"version-history":[{"count":0,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/802\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}