{"id":21336,"date":"2013-10-10T13:07:15","date_gmt":"2013-10-10T18:07:15","guid":{"rendered":"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=21336"},"modified":"2013-10-10T15:40:48","modified_gmt":"2013-10-10T20:40:48","slug":"comment-threading-broken","status":"publish","type":"post","link":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=21336","title":{"rendered":"Comment Threading Broken"},"content":{"rendered":"<p>It&#8217;s kind of annoying to get the same notification in six different posts, on twitter, and in email.  So as a catch-all: Yes, comment threading is broken. Sort of.  Sometimes. In some cases.<\/p>\n<p>I can&#8217;t reply to certain threads in the most recent Spoiler Warning post. But others I can.  It&#8217;s not based on user, or time, or comment depth. It&#8217;s not caused by any of the most likely plugins. I haven&#8217;t made any changes to the site on ages.<\/p>\n<p>I put this post here to run some tests and to act as a general &#8220;OUT OF ORDER&#8221; sign on the site. I&#8217;m working on it. <\/p>\n<p>Current status: Baffled and annoyed.<\/p>\n<p>EDIT: Boom! Problem solved.<\/p>\n<p>Okay, how WordPress handles threaded comments is a little unexpected. Let&#8217;s say we&#8217;ve got a comment thread like this:<\/p>\n<ul>\n<li>I am hungry. &#8211; Alan\n<ul>\n<li>Me too, I could really go for a hamburger. &#8211; Barbara\n<ul>\n<li>Ugh. No thinks. I&#8217;m a vegetarian. &#8211; Carl\n<ul>\n<li>That&#8217;s so sweet! I love animals! &#8211; Denise\n<li>I never said I was sharing my hamburger with anyone. :) &#8211; Barbara\n            <\/ul>\n<li>Man, that sounds good! &#8211; Alan\n        <\/ul>\n<li>There is never a wrong time for pizza. &#8211; Earl\n    <\/ul>\n<li>Man, writing this example thread has made me hungry. &#8211; Shamus\n<\/ul>\n<p>If I delete the root comment, or even if Alan makes a change to his original comment that gets it shoved into moderation, then WordPress FREAKS OUT and abandons all attempts at threading:<\/p>\n<ul>\n<li>Me too, I could really go for a hamburger. &#8211; Barbara\n<li>Ugh. No thinks. I&#8217;m a vegetarian. &#8211; Carl\n<li>That&#8217;s so sweet! I love animals! &#8211; Denise\n<li>I never said I was sharing my hamburger with anyone. :) &#8211; Barbara\n<li>Man, that sounds good! &#8211; Alan\n<li>There is never a wrong time for pizza. &#8211; Earl\n<li>Man, writing this example thread has made me hungry. &#8211; Shamus\n<\/ul>\n<p>All future replies to ANY of these comments will appear at the top level.  Basically, none of these comments can ever appear in any thread ever again unless the original comment from Alan is restored.<\/p>\n<p>So&#8230; that was odd.<\/p>\n<p>Anyway. Problem solved. Let&#8217;s move on.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s kind of annoying to get the same notification in six different posts, on twitter, and in email. So as a catch-all: Yes, comment threading is broken. Sort of. Sometimes. In some cases. I can&#8217;t reply to certain threads in the most recent Spoiler Warning post. But others I can. It&#8217;s not based on user, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[111],"tags":[],"class_list":["post-21336","post","type-post","status-publish","format-standard","hentry","category-notices"],"_links":{"self":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/21336","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=21336"}],"version-history":[{"count":0,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/21336\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}