It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.

Source: http://xosq.shop/ticket/2322?format=rss

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  <head>
  12.    <title>
  13.      #2322 (Moving Topic doesn't update _bbp_topic_count)
  14.     – bbPress Trac
  15.    </title>
  16.      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  17.      <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  18.    <!--[if IE]><script type="text/javascript">
  19.      if (/^#__msie303:/.test(window.location.hash))
  20.        window.location.replace(window.location.hash.replace(/^#__msie303:/, '#'));
  21.    </script><![endif]-->
  22.          <link rel="search" href="/search" />
  23.          <link rel="prev" href="/ticket/2321" title="Ticket #2321" />
  24.          <link rel="last" href="/ticket/3609" title="Ticket #3609" />
  25.          <link rel="help" href="/wiki/TracGuide" />
  26.          <link rel="alternate" href="/ticket/2322?format=csv" type="text/csv" class="csv" title="Comma-delimited Text" />
  27.          <link rel="alternate" href="/ticket/2322?format=tab" type="text/tab-separated-values" class="tab" title="Tab-delimited Text" />
  28.          <link rel="alternate" href="/ticket/2322?format=rss" type="application/rss+xml" class="rss" title="RSS Feed" />
  29.          <link rel="next" href="/ticket/2323" title="Ticket #2323" />
  30.          <link rel="start" href="/wiki" />
  31. <link rel="stylesheet" href="https://s.w.org/style/trac/common/css/trac.css?v=220" />
  32. <link rel="stylesheet" href="https://s.w.org/style/trac/common/css/ticket.css?v=220" />
  33. <link rel="stylesheet" href="https://s.w.org/style/trac/common/css/jquery-ui/jquery-ui.css?v=220" />
  34. <link rel="stylesheet" href="https://s.w.org/style/trac/common/css/jquery-ui-addons.css?v=220" />
  35.          <link rel="icon" href="https://bbpress.org/favicon.ico" type="image/x-icon" />
  36.          <link rel="first" href="/ticket/1" title="Ticket #1" />
  37.    <style id="trac-noscript" type="text/css">.trac-noscript { display: none !important }</style>
  38.      <link type="application/opensearchdescription+xml" rel="search" href="/search/opensearch" title="Search bbPress Trac" />
  39.    <script type="text/javascript">
  40.      var auto_preview_timeout=2.0;
  41.      var form_token="06e1946b785923f2373286a6";
  42.      var jquery_ui={"ampm":true,"date_format":"mm/dd/yy","day_names":{"abbreviated":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"narrow":["Su","Mo","Tu","We","Th","Fr","Sa"],"wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"default_timezone":null,"first_week_day":0,"month_names":{"abbreviated":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wide":["January","February","March","April","May","June","July","August","September","October","November","December"]},"period_names":{"am":["AM","AM"],"pm":["PM","PM"]},"show_timezone":false,"time_format":"hh:mm:ss TT","timepicker_separator":" ","timezone_iso8601":false,"timezone_list":null};
  43.      var comments_prefs={"comments_order":"oldest","show_comments":"true","show_prop_changes":"true"};
  44.    </script>
  45. <link rel="dns-prefetch" href="//fonts.googleapis.com" />
  46. <link rel="dns-prefetch" href="//www.googletagmanager.com" />
  47. <script>//<![CDATA[
  48. (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  49. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  50. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  51. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  52. })(window,document,'script','dataLayer','GTM-P24PF4B');
  53. //]]></script>
  54. <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&amp;subset=latin%2Clatin-ext&amp;ver=3.8.1-alpha" type="text/css" media="all" />
  55. <link type="text/css" media="screen" rel="stylesheet" href="//bbpress.org/wp-content/themes/bb-base/style.css?v=24" />
  56. <link type="text/css" media="screen" rel="stylesheet" href="//bbpress.org/wp-content/themes/bb-base/style-bbpress.css?v=24" />
  57.  
  58. <meta name="viewport" content="width=device-width" />
  59. <link rel="stylesheet" href="https://s.w.org/wp-includes/css/dashicons.min.css?20150710" type="text/css" />
  60. <link rel="stylesheet" type="text/css" href="https://s.w.org/style/trac/wp-trac.css?220" />
  61. <script src="https://s.w.org/style/trac/common/js/jquery.js?v=220"></script>
  62. <link rel="canonical" href="https://bbpress.trac.wordpress.org/ticket/2322" />
  63. <script src="https://s.w.org/style/trac/common/js/babel.js?v=220"></script>
  64. <script src="https://s.w.org/style/trac/common/js/trac.js?v=220"></script>
  65. <script src="https://s.w.org/style/trac/common/js/search.js?v=220"></script>
  66. <script src="https://s.w.org/style/trac/common/js/folding.js?v=220"></script>
  67. <script src="https://s.w.org/style/trac/common/js/wikitoolbar.js?v=220"></script>
  68. <script src="https://s.w.org/style/trac/common/js/resizer.js?v=220"></script>
  69. <script src="https://s.w.org/style/trac/common/js/auto_preview.js?v=220"></script>
  70. <script src="https://s.w.org/style/trac/common/js/jquery-ui.js?v=220"></script>
  71. <script src="https://s.w.org/style/trac/common/js/jquery-ui-addons.js?v=220"></script>
  72. <script src="https://s.w.org/style/trac/common/js/jquery-ui-i18n.js?v=220"></script>
  73.    <script type="text/javascript">
  74.      jQuery("#trac-noscript").remove();
  75.      jQuery(document).ready(function($) {
  76.        $(".trac-autofocus").focus();
  77.        $(".trac-target-new").attr("target", "_blank");
  78.        if ($.ui) { /* is jquery-ui added? */
  79.          $(".trac-datepicker:not([readonly])").prop("autocomplete", "off").datepicker();
  80.          $(".trac-datetimepicker:not([readonly])").prop("autocomplete", "off").datetimepicker();
  81.          $("#main").addClass("trac-nodatetimehint");
  82.        }
  83.        $(".trac-disable").disableSubmit(".trac-disable-determinant");
  84.        setTimeout(function() { $(".trac-scroll").scrollToTop() }, 1);
  85.        $(".trac-disable-on-submit").disableOnSubmit();
  86.      });
  87.    </script>
  88. <script src="https://s.w.org/style/trac/common/js/threaded_comments.js?v=220"></script>
  89.    <script type="text/javascript">
  90.      jQuery(document).ready(function($) {
  91.        $("div.description").find("h1,h2,h3,h4,h5,h6").addAnchor(_("Link to this section"));
  92.        $(".foldable").enableFolding(false, true);
  93.      /*<![CDATA[*/
  94.        $("#attachments").toggleClass("collapsed");
  95.        $("#trac-up-attachments").click(function () {
  96.          $("#attachments").removeClass("collapsed");
  97.          return true;
  98.        });
  99.        $("#modify").parent().toggleClass("collapsed");
  100.        $(".trac-topnav a").click(function() { $("#modify").parent().removeClass("collapsed"); });
  101.        function setRevertHandler() {
  102.          $("button.trac-revert").click(function() {
  103.            var div = $("div", this);
  104.            var field_name = div[0].id.substr(7);
  105.            var field_value = div.text();
  106.            var input = $("#propertyform *[name=field_" + field_name + "]");
  107.            if (input.length > 0) {
  108.              if (input.filter("input[type=radio]").length > 0) {
  109.                input.val([field_value]);
  110.              } else if (input.filter("input[type=checkbox]").length > 0) {
  111.                input.val(field_value == "1" ? [field_value] : []);
  112.              } else {
  113.                input.val(field_value);
  114.              }
  115.            } else { // Special case for CC checkbox
  116.              input = $("#propertyform input[name=cc_update]").val([]);
  117.            }
  118.            input.change();
  119.            // Remove the revert button
  120.            if ($(this).closest("tbody").children("tr").length === 1)
  121.              $(this).closest(".trac-change-panel").remove();
  122.            else
  123.              $(this).closest("tr").remove();
  124.            return false;
  125.          });
  126.        }
  127.        setRevertHandler();
  128.        var comment_focused = false;
  129.        $("#comment").focus(function() { comment_focused = true; })
  130.                     .blur(function() { comment_focused = false; });
  131.        $("#propertyform").autoSubmit({preview: '1'}, function(data, reply) {
  132.          var items = $(reply);
  133.          // Update ticket box
  134.          $("#ticket").replaceWith(items.filter('#ticket'));
  135.          // Replaces content of #changelog, without recreating it
  136.          $("#changelog").empty().append(items.filter("#changelog").contents());
  137.          // Apply comments order and "Show" preferences
  138.          applyCommentsOrder(
  139.            $('#prefs input[name="trac-comments-order"]:checked').val());
  140.          // Show warning
  141.          var new_changes = $("#changelog .trac-new");
  142.          $("#trac-edit-warning").toggle(new_changes.length != 0);
  143.          if (new_changes.length != 0)
  144.            $("#changelog").parent().show().removeClass("collapsed");
  145.          // Update view time
  146.          $("#propertyform input[name='view_time']").replaceWith(items.filter("input[name='view_time']"));
  147.          // Update preview
  148.          var preview = $("#ticketchange").html(items.filter('#preview').children());
  149.          var show_preview = preview.children().length != 0;
  150.          $("#ticketchange").toggle(show_preview);
  151.          setRevertHandler();
  152.          // Execute scripts to load stylesheets
  153.          items.filter("script").appendTo("head");
  154.        }, "#ticketchange .trac-loading");
  155.        $("#trac-comment-editor").autoSubmit({preview_comment: '1'}, function(data, reply) {
  156.          var comment = $("#trac-comment-editor").next("div.comment").html(reply);
  157.          comment.toggle(comment.children().length != 0);
  158.        }, "#changelog .trac-loading");
  159.        /*]]>*/
  160.      });
  161.    </script>
  162.  </head>
  163.  <body id="wordpress-org" class="bbpress trac wporg-make make-bbpress">
  164. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P24PF4B" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  165.    <dl id="accessibility">
  166.        <dt>Skip to:</dt>
  167.        <dd><a href="#content" title="Skip to content">Content</a></dd>
  168.    </dl>
  169.    <div id="wporg-header">
  170.        <div id="header-inner">
  171. <button id="mobile-menu-button" aria-expanded="false"><span class="screen-reader-text">Toggle Menu</span></button>
  172.            <ul id="wporg-header-menu">
  173.                <li><a href="https://bbpress.org/about/">About</a></li>
  174.                <li><a href="https://bbpress.org/plugins/">Plugins</a></li>
  175.                <li><a href="https://bbpress.org/themes/">Themes</a></li>
  176.                <li><a href="https://codex.bbpress.org/">Documentation</a></li>
  177.                <li><a href="https://bbpress.org/blog/">Blog</a></li>
  178.                <li><a href="https://bbpress.org/forums/">Support</a></li>
  179.                <li class="download"><a href="https://bbpress.org/download/">Download</a></li>
  180.            </ul>
  181.            <h1><a href="https://bbpress.org">bbPress.org</a></h1>
  182.        </div>
  183.    </div>
  184. <div id="subnav">
  185. <div id="subnav-inner">
  186. <ul id="nav-user" class="menu">
  187. <li class="last first">
  188. <a href="https://login.wordpress.org/?redirect_to=https%3A%2F%2Fbbpress.trac.wordpress.org%2Fticket%2F2322" class="login">Login</a>
  189. </li>
  190. </ul>
  191. </div>
  192. </div>
  193. <div id="banner">
  194. <form id="search" action="/search" method="get">
  195.        <div>
  196.          <label for="proj-search">Search:</label>
  197.          <input type="text" id="proj-search" name="q" size="18" value="" />
  198.          <input type="submit" value="Search" />
  199.        </div>
  200.      </form>
  201. </div>
  202.    <div id="mainnav" class="nav">
  203.    <ul>
  204.      <li class="first"><a href="/timeline">Timeline</a></li><li class="active"><a href="/report">View Tickets</a></li><li><a href="/roadmap">Roadmap</a></li><li><a href="/browser">Browse Source</a></li><li class="last"><a href="/ticketgraph">Ticket Graph</a></li>
  205.    </ul>
  206.  </div>
  207.    <div id="main">
  208.      <div id="ctxtnav" class="nav">
  209.        <h2>Context Navigation</h2>
  210.        <ul>
  211.          <li class="first"><span>&larr; <a class="prev" href="/ticket/2321" title="Ticket #2321">Previous Ticket</a></span></li><li class="last"><span><a class="next" href="/ticket/2323" title="Ticket #2323">Next Ticket</a> &rarr;</span></li>
  212.        </ul>
  213.        <hr />
  214.      </div>
  215.    <div id="content" class="ticket">
  216.        <div id="ticket" class="trac-content ">
  217.  <div class="date">
  218.    <p>Opened <a class="timeline" href="/timeline?from=2013-05-02T08%3A14%3A31Z&amp;precision=second" title="See timeline at 05/02/2013 08:14:31 AM">12 years ago</a></p>
  219.    <p>Closed <a class="timeline" href="/timeline?from=2015-05-12T19%3A35%3A02Z&amp;precision=second" title="See timeline at 05/12/2015 07:35:02 PM">9 years ago</a></p>
  220.    <p>Last modified <a class="timeline" href="/timeline?from=2015-05-22T08%3A30%3A09Z&amp;precision=second" title="See timeline at 05/22/2015 08:30:09 AM">9 years ago</a></p>
  221.  </div>
  222.  <h2>
  223.    <a href="/ticket/2322" class="trac-id">#2322</a>
  224.    <span class="trac-status">
  225.      <a href="/query?status=closed">closed</a>
  226.    </span>
  227.    <span class="trac-type">
  228.      <a href="/query?status=!closed&amp;type=defect+(bug)">defect (bug)</a>
  229.    </span>
  230.    <span class="trac-resolution">
  231.      (<a href="/query?status=closed&amp;resolution=fixed">fixed</a>)
  232.    </span>
  233.  </h2>
  234.  <h1 id="trac-ticket-title" class="searchable">
  235.    <span class="summary">Moving Topic doesn't update _bbp_topic_count</span>
  236.  </h1>
  237.  <table class="properties">
  238.    <tr>
  239.      <th id="h_reporter">Reported by:</th>
  240.      <td headers="h_reporter" class="searchable">
  241.  <a href="https://profiles.wordpress.org/wpdennis" data-nicename="wpdennis">
  242.    <img class="avatar" src="https://wordpress.org/grav-redirect.php?user=wpdennis&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=wpdennis&amp;s=96 2x" height="48" width="48" alt="wpdennis's profile" />
  243.  </a>
  244.    <a class="trac-author" href="/query?status=!closed&amp;reporter=wpdennis">wpdennis</a>
  245. </td>
  246.      <th id="h_owner">Owned by:</th>
  247.      <td headers="h_owner">
  248.  <a href="https://profiles.wordpress.org/johnjamesjacoby">
  249.    <img class="avatar" src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&amp;s=96 2x" height="48" width="48" alt="johnjamesjacoby's profile" />
  250.  </a>
  251.    <a class="trac-author" href="/query?status=!closed&amp;owner=johnjamesjacoby">johnjamesjacoby</a>
  252. </td>
  253.    </tr>
  254.    <tr>
  255.        <th id="h_milestone">
  256.          Milestone:
  257.        </th>
  258.        <td headers="h_milestone">
  259.              <a class="closed milestone" href="/milestone/2.6" title="Completed 5 years ago (11/12/2019 05:00:00 PM)">2.6</a>
  260.        </td>
  261.        <th id="h_priority">
  262.          Priority:
  263.        </th>
  264.        <td headers="h_priority">
  265.              <a href="/query?status=!closed&amp;priority=high">high</a>
  266.        </td>
  267.    </tr><tr>
  268.        <th id="h_severity">
  269.          Severity:
  270.        </th>
  271.        <td headers="h_severity">
  272.              <a href="/query?status=!closed&amp;severity=normal">normal</a>
  273.        </td>
  274.        <th id="h_version">
  275.          Version:
  276.        </th>
  277.        <td headers="h_version">
  278.              <a href="/query?status=!closed&amp;version=2.3">2.3</a>
  279.        </td>
  280.    </tr><tr>
  281.        <th id="h_component">
  282.          Component:
  283.        </th>
  284.        <td headers="h_component">
  285.              <a href="/query?status=!closed&amp;component=Component+-+Forums">Component - Forums</a>
  286.        </td>
  287.        <th id="h_keywords">
  288.          Keywords:
  289.        </th>
  290.        <td headers="h_keywords" class="searchable">
  291.              <a href="/query?status=!closed&amp;keywords=~has-patch">has-patch</a>
  292.        </td>
  293.    </tr><tr>
  294.        <th id="h_cc" class="missing">
  295.          Cc:
  296.        </th>
  297.        <td headers="h_cc" class="searchable">
  298.        </td>
  299.        <th class="missing">
  300.        </th>
  301.        <td>
  302.        </td>
  303.    </tr>
  304.  </table>
  305.  <div class="description">
  306.    <h3 id="comment:description">
  307.      Description
  308.    </h3>
  309.    <div class="searchable">
  310.      <p>
  311. If I move topics in the front-end it doesn't update the postmetas "_bbp_topic_count", "_bbp_reply_count", "_bbp_total_reply_count" and "_bbp_total_topic_count" neither of the target nor the old forum post. <br />
  312. </p>
  313. <p>
  314. bbp_move_topic_handler() calls bbp_update_topic_forum_id() and maybe bbp_update_topic_forum_id() could recalc the counts of the old and the new forum post?<br />
  315. </p>
  316.  
  317.    </div>
  318.  </div>
  319. </div>
  320.          
  321.    <div id="attachments">
  322.        <h3 class="foldable">Attachments <span class="trac-count">(1)</span></h3>
  323.        <div class="attachments">
  324.          <dl class="attachments">
  325.              <dt>
  326.    <a href="/attachment/ticket/2322/2322.01.patch" title="View attachment">2322.01.patch</a><a href="/raw-attachment/ticket/2322/2322.01.patch" class="trac-rawlink" title="Download">​</a> (<span title="562 bytes">562 bytes</span>) - added by <span class="trac-author">thebrandonallen</span> <a class="timeline" href="/timeline?from=2015-05-12T06%3A20%3A12Z&amp;precision=second" title="See timeline at 05/12/2015 06:20:12 AM">9 years ago</a>.
  327.  </dt>
  328.          </dl>
  329.          <p>
  330.            Download all attachments as: <a rel="nofollow" href="/zip-attachment/ticket/2322/">.zip</a>
  331.          </p>
  332.          
  333.        </div>
  334.    </div>
  335.  
  336.        <div>
  337.          <div class="trac-noscript" style="position: relative">
  338.            <form id="prefs" method="get" action="/prefs" style="position: absolute; right: 0">
  339.              <div id="trac-comments-order">
  340.                <input type="radio" id="trac-comments-oldest" name="trac-comments-order" value="oldest" checked="checked" />
  341.                <label for="trac-comments-oldest">Oldest first</label>
  342.                <input type="radio" id="trac-comments-newest" name="trac-comments-order" value="newest" />
  343.                <label for="trac-comments-newest">Newest first</label>
  344.                <span id="trac-threaded-toggle" style="display: none">
  345.                  <input type="radio" id="trac-comments-threaded" name="trac-comments-order" value="threaded" />
  346.                  <label for="trac-comments-threaded">Threaded</label>
  347.                </span>
  348.              </div>
  349.              <div>
  350.                <input id="trac-show-comments-toggle" type="checkbox" checked="checked" />
  351.                <label for="trac-show-comments-toggle">Show comments</label>
  352.                <input id="trac-show-property-changes-toggle" type="checkbox" />
  353.                <label for="trac-show-property-changes-toggle">Show property changes</label>
  354.              </div>
  355.            </form>
  356.          </div>
  357.          <h3 class="foldable">Change History <span class="trac-count">(17)</span></h3>
  358.          <div id="changelog">
  359.              <div class="change" id="trac-change-1-1367597793992206">
  360.                
  361.  <h3 class="change">
  362.    <span class="threading">
  363.      <span id="comment:1" class="cnum">
  364.    <a href="#comment:1">#1</a>
  365.  </span>
  366.    </span>
  367.        <span class="avatar">
  368.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  369.            <img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
  370.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-05-03T16%3A16%3A33Z&amp;precision=second" title="See timeline at 05/03/2013 04:16:33 PM">12 years</a> ago</span>
  371.        </span>
  372.    <div class="trac-ticket-buttons">
  373.    </div>
  374.  </h3>
  375.  <div class="trac-ticket-buttons"></div>
  376.  <ul class="changes">
  377.    <li class="trac-field-keywords">
  378.      <strong class="trac-field-keywords">Keywords</strong>
  379.        <em>needs-patch</em> added
  380.    </li><li class="trac-field-milestone">
  381.      <strong class="trac-field-milestone">Milestone</strong>
  382.        changed from <em>Awaiting Review</em> to <em>2.4</em>
  383.    </li>
  384.  </ul>
  385.    <div class="comment searchable">
  386.      <p>
  387. Hm. Thought we'd fixed this once before. Moving to 2.4 to look into this there.<br />
  388. </p>
  389.  
  390.    </div>
  391.  
  392.              </div>
  393.              <div class="change" id="trac-change-2-1372044972693387">
  394.                
  395.  <h3 class="change">
  396.    <span class="threading">
  397.      <span id="comment:2" class="cnum">
  398.    <a href="#comment:2">#2</a>
  399.  </span>
  400.    </span>
  401.        <span class="avatar">
  402.          <span class="username-line"><a href="https://profiles.wordpress.org/aliso" class="profile-link">
  403.            <img src="https://wordpress.org/grav-redirect.php?user=aliso&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=aliso&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="aliso" data-nicename="aliso"><span class="trac-author">aliso</span></span></a></span>
  404.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-06-24T03%3A36%3A12Z&amp;precision=second" title="See timeline at 06/24/2013 03:36:12 AM">11 years</a> ago</span>
  405.        </span>
  406.    <div class="trac-ticket-buttons">
  407.    </div>
  408.  </h3>
  409.  <div class="trac-ticket-buttons"></div>
  410.  <ul class="changes">
  411.    <li class="trac-field-milestone">
  412.      <strong class="trac-field-milestone">Milestone</strong>
  413.        <em>2.4</em> deleted
  414.    </li><li class="trac-field-resolution">
  415.      <strong class="trac-field-resolution">Resolution</strong>
  416.        set to <em>worksforme</em>
  417.    </li><li class="trac-field-status">
  418.      <strong class="trac-field-status">Status</strong>
  419.        changed from <em>new</em> to <em>closed</em>
  420.    </li>
  421.  </ul>
  422.    <div class="comment searchable">
  423.      <p>
  424. I'm not able to reproduce this - all the meta values are updating properly for me when I move a topic from one forum to another. Closing for now.<br />
  425. </p>
  426.  
  427.    </div>
  428.  
  429.              </div>
  430.              <div class="change" id="trac-change-3-1372095517541495">
  431.                
  432.  <h3 class="change">
  433.    <span class="threading">
  434.      <span id="comment:3" class="cnum">
  435.    <a href="#comment:3">#3</a>
  436.  </span>
  437.    </span>
  438.        <span class="avatar">
  439.          <span class="username-line"><a href="https://profiles.wordpress.org/alexvorn2" class="profile-link">
  440.            <img src="https://wordpress.org/grav-redirect.php?user=alexvorn2&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=alexvorn2&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="alexvorn2" data-nicename="alexvorn2"><span class="trac-author">alexvorn2</span></span></a></span>
  441.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-06-24T17%3A38%3A37Z&amp;precision=second" title="See timeline at 06/24/2013 05:38:37 PM">11 years</a> ago</span>
  442.        </span>
  443.    <div class="trac-ticket-buttons">
  444.    </div>
  445.  </h3>
  446.  <div class="trac-ticket-buttons"></div>
  447.    <div class="comment searchable">
  448.      <p>
  449. related <a class="new ticket" href="/ticket/1981" title="#1981: defect (bug): Update topic/replies count after subforums changed location (new)">#1981</a><br />
  450. </p>
  451.  
  452.    </div>
  453.  
  454.              </div>
  455.              <div class="change" id="trac-change-4-1384722332561700">
  456.                
  457.  <h3 class="change">
  458.    <span class="threading">
  459.      <span id="comment:4" class="cnum">
  460.    <a href="#comment:4">#4</a>
  461.  </span>
  462.    </span>
  463.        <span class="avatar">
  464.          <span class="username-line"><a href="https://profiles.wordpress.org/wpdennis" class="profile-link">
  465.            <img src="https://wordpress.org/grav-redirect.php?user=wpdennis&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=wpdennis&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="wpdennis" data-nicename="wpdennis"><span class="trac-author">wpdennis</span></span></a></span>
  466.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-17T21%3A05%3A32Z&amp;precision=second" title="See timeline at 11/17/2013 09:05:32 PM">11 years</a> ago</span>
  467.        </span>
  468.    <div class="trac-ticket-buttons">
  469.    </div>
  470.  </h3>
  471.  <div class="trac-ticket-buttons"></div>
  472.  <ul class="changes">
  473.    <li class="trac-field-resolution">
  474.      <strong class="trac-field-resolution">Resolution</strong>
  475.        <em>worksforme</em> deleted
  476.    </li><li class="trac-field-status">
  477.      <strong class="trac-field-status">Status</strong>
  478.        changed from <em>closed</em> to <em>reopened</em>
  479.    </li>
  480.  </ul>
  481.    <div class="comment searchable">
  482.      <p>
  483. It's not fixed. Not even in 2.4.1.<br />
  484. </p>
  485. <p>
  486. I've done some more digging. To reproduce it you need to activate object caching.<br />
  487. </p>
  488. <p>
  489. The reason seems to be that <a class="ext-link" href="http://bbpress.trac.wordpress.org/browser/tags/2.4.1/includes/common/functions.php#L1335"><span class="icon">​</span>bbp_get_public_child_ids</a> gets the topics to count from the object cache:<br />
  490. </p>
  491. <pre class="wiki">// Check for cache and set if needed
  492. $child_ids = wp_cache_get( $cache_id, 'bbpress_posts' );
  493. </pre><p>
  494. But during the topic moving the cache wasn't invalidated and will not contain the moved topic.<br />
  495. </p>
  496. <p>
  497. The cache will only be invalidated in <em>bbp_clean_post_cache()</em>, but this is not added to <em>bbp_edit_forum_pre_extras</em> (and we shouldn't do that, it would be too expensive). <br />
  498. </p>
  499. <p>
  500. It is only added to <em>bbp_new_forum_pre_extras</em> and similar actions.<br />
  501. </p>
  502. <p>
  503. Maybe we could add a new action in the beginning of <em>bbp_move_topic_handler()</em> and add <em>bbp_clean_post_cache()</em> to it?<br />
  504. </p>
  505. <p>
  506. Like <em>bbp_move_forum_pre_extras</em> or something?<br />
  507. </p>
  508.  
  509.    </div>
  510.  
  511.              </div>
  512.              <div class="change" id="trac-change-5-1384723246559889">
  513.                
  514.  <h3 class="change">
  515.    <span class="threading">
  516.      <span id="comment:5" class="cnum">
  517.    <a href="#comment:5">#5</a>
  518.  </span>
  519.    </span>
  520.        <span class="avatar">
  521.          <span class="username-line"><a href="https://profiles.wordpress.org/wpdennis" class="profile-link">
  522.            <img src="https://wordpress.org/grav-redirect.php?user=wpdennis&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=wpdennis&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="wpdennis" data-nicename="wpdennis"><span class="trac-author">wpdennis</span></span></a></span>
  523.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-17T21%3A20%3A46Z&amp;precision=second" title="See timeline at 11/17/2013 09:20:46 PM">11 years</a> ago</span>
  524.        </span>
  525.    <div class="trac-ticket-buttons">
  526.    </div>
  527.  </h3>
  528.  <div class="trac-ticket-buttons"></div>
  529.    <div class="comment searchable">
  530.      <p>
  531. The idea with <em>bbp_move_forum_pre_extras</em> wasn't that good, since we need it for every forum.<br />
  532. </p>
  533. <p>
  534. As a hack, adding <em>bbp_clean_post_cache( $ancestor );</em> in <a class="ext-link" href="http://bbpress.trac.wordpress.org/browser/tags/2.4.1/includes/topics/functions.php#L997"><span class="icon">​</span>bbp_move_topic_handler()</a> is working:<br />
  535. </p>
  536. <pre class="wiki">// Loop through ancestors and update them
  537. if ( !empty( $old_forum_ancestors ) ) {
  538. foreach ( $old_forum_ancestors as $ancestor ) {
  539. if ( bbp_is_forum( $ancestor ) ) {
  540. bbp_clean_post_cache( $ancestor );
  541. bbp_update_forum( array(
  542. 'forum_id' =&gt; $ancestor,
  543. ) );
  544. }
  545. }
  546. }
  547. </pre><p>
  548. and:<br />
  549. </p>
  550. <pre class="wiki">// Loop through ancestors and update them
  551. if ( !empty( $new_forum_ancestors ) ) {
  552. foreach ( $new_forum_ancestors as $ancestor ) {
  553. if ( bbp_is_forum( $ancestor ) ) {
  554. bbp_clean_post_cache( $ancestor );
  555. bbp_update_forum( array(
  556. 'forum_id' =&gt; $ancestor,
  557. ) );
  558. }
  559. }
  560. }
  561. </pre>
  562.    </div>
  563.  
  564.              </div>
  565.              <div class="change" id="trac-change-6-1384730311924910">
  566.                
  567.  <h3 class="change">
  568.    <span class="threading">
  569.      <span id="comment:6" class="cnum">
  570.    <a href="#comment:6">#6</a>
  571.  </span>
  572.    </span>
  573.        <span class="avatar">
  574.          <span class="username-line"><a href="https://profiles.wordpress.org/netweb" class="profile-link">
  575.            <img src="https://wordpress.org/grav-redirect.php?user=netweb&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=netweb&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="netweb" data-nicename="netweb"><span class="trac-author">netweb</span></span></a></span>
  576.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-17T23%3A18%3A31Z&amp;precision=second" title="See timeline at 11/17/2013 11:18:31 PM">11 years</a> ago</span>
  577.        </span>
  578.    <div class="trac-ticket-buttons">
  579.    </div>
  580.  </h3>
  581.  <div class="trac-ticket-buttons"></div>
  582.  <ul class="changes">
  583.    <li class="trac-field-milestone">
  584.      <strong class="trac-field-milestone">Milestone</strong>
  585.        set to <em>Awaiting Review</em>
  586.    </li>
  587.  </ul>
  588.  
  589.              </div>
  590.              <div class="change" id="trac-change-7-1384772694263985">
  591.                
  592.  <h3 class="change">
  593.    <span class="threading">
  594.      <span id="comment:7" class="cnum">
  595.    <a href="#comment:7">#7</a>
  596.  </span>
  597.    </span>
  598.        <span class="avatar">
  599.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  600.            <img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
  601.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-18T11%3A04%3A54Z&amp;precision=second" title="See timeline at 11/18/2013 11:04:54 AM">11 years</a> ago</span>
  602.        </span>
  603.    <div class="trac-ticket-buttons">
  604.    </div>
  605.  </h3>
  606.  <div class="trac-ticket-buttons"></div>
  607.    <div class="comment searchable">
  608.      <p>
  609. What if we clean the post cache when updating a forum? We should be doing that anyways; is that enough, VS the brute force tree flush?<br />
  610. </p>
  611.  
  612.    </div>
  613.  
  614.              </div>
  615.              <div class="change" id="trac-change-8-1384774312790740">
  616.                
  617.  <h3 class="change">
  618.    <span class="threading">
  619.      <span id="comment:8" class="cnum">
  620.    <a href="#comment:8">#8</a>
  621.  </span>
  622.    </span>
  623.        <span class="avatar">
  624.          <span class="username-line"><a href="https://profiles.wordpress.org/wpdennis" class="profile-link">
  625.            <img src="https://wordpress.org/grav-redirect.php?user=wpdennis&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=wpdennis&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="wpdennis" data-nicename="wpdennis"><span class="trac-author">wpdennis</span></span></a></span>
  626.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-18T11%3A31%3A52Z&amp;precision=second" title="See timeline at 11/18/2013 11:31:52 AM">11 years</a> ago</span>
  627.        </span>
  628.    <div class="trac-ticket-buttons">
  629.    </div>
  630.  </h3>
  631.  <div class="trac-ticket-buttons"></div>
  632.    <div class="comment searchable">
  633.      <p>
  634. You mean in <em>bbp_update_forum()</em>? That would do the trick.<br />
  635. </p>
  636. <p>
  637. <em>bbp_update_topic_walker()</em> would call it, too. But in <em>bbp_update_topic()</em> it only gets triggered on new topics, is it?<br />
  638. </p>
  639. <p>
  640. Just a quick note aside:<br />
  641. On new topics and probably some other things it would get called twice. If it's expensive, maybe <a class="ext-link" href="http://bbpress.trac.wordpress.org/browser/tags/2.4.1/includes/core/actions.php#L258"><span class="icon">​</span>these actions</a> should be revisited:<br />
  642. </p>
  643. <pre class="wiki">// Caches
  644. add_action( 'bbp_new_forum_pre_extras',  'bbp_clean_post_cache' );
  645. add_action( 'bbp_new_forum_post_extras', 'bbp_clean_post_cache' );
  646. add_action( 'bbp_new_topic_pre_extras',  'bbp_clean_post_cache' );
  647. add_action( 'bbp_new_topic_post_extras', 'bbp_clean_post_cache' );
  648. add_action( 'bbp_new_reply_pre_extras',  'bbp_clean_post_cache' );
  649. add_action( 'bbp_new_reply_post_extras', 'bbp_clean_post_cache' );
  650. </pre>
  651.    </div>
  652.  
  653.              </div>
  654.              <div class="change" id="trac-change-9-1384779466802720">
  655.                
  656.  <h3 class="change">
  657.    <span class="threading">
  658.      <span id="comment:9" class="cnum">
  659.    <a href="#comment:9">#9</a>
  660.  </span>
  661.          <span>follow-up:</span>
  662.    <a href="#comment:10" class="follow-up">↓ 10</a>
  663.    </span>
  664.        <span class="avatar">
  665.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  666.            <img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
  667.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-18T12%3A57%3A46Z&amp;precision=second" title="See timeline at 11/18/2013 12:57:46 PM">11 years</a> ago</span>
  668.        </span>
  669.    <div class="trac-ticket-buttons">
  670.    </div>
  671.  </h3>
  672.  <div class="trac-ticket-buttons"></div>
  673.    <div class="comment searchable">
  674.      <p>
  675. Not very expensive, but it's not currently ideal. You're correct that we should revisit our cache (and cache busting) strategy to make sure we're not running into more situations like this one. This will become more and more important as we stop doing expensive recalculations and start incrementing based on existing values.<br />
  676. </p>
  677. <p>
  678. There is a lot we can learn from <a class="wiki" href="/wiki/WordPress">WordPress</a> core and Pages in this regard.<br />
  679. </p>
  680.  
  681.    </div>
  682.  
  683.              </div>
  684.              <div class="change" id="trac-change-10-1385206834993280">
  685.                
  686.  <h3 class="change">
  687.    <span class="threading">
  688.      <span id="comment:10" class="cnum">
  689.    <a href="#comment:10">#10</a>
  690.  </span>
  691.        in reply to:
  692.    <a href="#comment:9">↑ 9</a>
  693.    </span>
  694.        <span class="avatar">
  695.          <span class="username-line"><a href="https://profiles.wordpress.org/wpdennis" class="profile-link">
  696.            <img src="https://wordpress.org/grav-redirect.php?user=wpdennis&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=wpdennis&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="wpdennis" data-nicename="wpdennis"><span class="trac-author">wpdennis</span></span></a></span>
  697.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-23T11%3A40%3A34Z&amp;precision=second" title="See timeline at 11/23/2013 11:40:34 AM">11 years</a> ago</span>
  698.        </span>
  699.    <div class="trac-ticket-buttons">
  700.    </div>
  701.  </h3>
  702.  <div class="trac-ticket-buttons"></div>
  703.    <div class="comment searchable">
  704.      <p>
  705. Maybe we should split this ticket then. <br />
  706. </p>
  707. <p>
  708. We could use this for Ticket for the Hotfix you suggested. <br />
  709. </p>
  710. <p>
  711. It's so much work to fix the counts manually in a live system with object caching enabled, that maybe you could consider to add the cache cleaning in 2.4.2 as a temporary fix? I'm currently testing it and will report back soon.<br />
  712. </p>
  713. <p>
  714. For the more ideal solution a new ticket would be better, especially if it's targeting the whole caching strategy. But I'm sorry, I haven't enough insights to start this ticket myself.<br />
  715. </p>
  716.  
  717.    </div>
  718.  
  719.              </div>
  720.              <div class="change" id="trac-change-11-1385484462889838">
  721.                
  722.  <h3 class="change">
  723.    <span class="threading">
  724.      <span id="comment:11" class="cnum">
  725.    <a href="#comment:11">#11</a>
  726.  </span>
  727.          <span>follow-up:</span>
  728.    <a href="#comment:12" class="follow-up">↓ 12</a>
  729.    </span>
  730.        <span class="avatar">
  731.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  732.            <img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
  733.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-26T16%3A47%3A42Z&amp;precision=second" title="See timeline at 11/26/2013 04:47:42 PM">11 years</a> ago</span>
  734.        </span>
  735.    <div class="trac-ticket-buttons">
  736.    </div>
  737.  </h3>
  738.  <div class="trac-ticket-buttons"></div>
  739.  <ul class="changes">
  740.    <li class="trac-field-milestone">
  741.      <strong class="trac-field-milestone">Milestone</strong>
  742.        changed from <em>Awaiting Review</em> to <em>2.6</em>
  743.    </li>
  744.  </ul>
  745.    <div class="comment searchable">
  746.      <p>
  747. We should be busting the cache for every change made to any post type or their meta. It's somewhat expensive given the hierarchical nature of reply &gt; topic &gt; forum(s), but it's necessary to make sure we're getting the correct results. This will become even more important when we move to _bump_ functions rather than recalculations, as we'll want to make sure we're getting the correct counts from fresh post data to bump from.<br />
  748. </p>
  749. <p>
  750. How's your test run looking?<br />
  751. </p>
  752.  
  753.    </div>
  754.  
  755.              </div>
  756.              <div class="change" id="trac-change-12-1385547404704422">
  757.                
  758.  <h3 class="change">
  759.    <span class="threading">
  760.      <span id="comment:12" class="cnum">
  761.    <a href="#comment:12">#12</a>
  762.  </span>
  763.        in reply to:
  764.    <a href="#comment:11">↑ 11</a>
  765.    </span>
  766.        <span class="avatar">
  767.          <span class="username-line"><a href="https://profiles.wordpress.org/wpdennis" class="profile-link">
  768.            <img src="https://wordpress.org/grav-redirect.php?user=wpdennis&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=wpdennis&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="wpdennis" data-nicename="wpdennis"><span class="trac-author">wpdennis</span></span></a></span>
  769.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-27T10%3A16%3A44Z&amp;precision=second" title="See timeline at 11/27/2013 10:16:44 AM">11 years</a> ago</span>
  770.        </span>
  771.    <div class="trac-ticket-buttons">
  772.    </div>
  773.  </h3>
  774.  <div class="trac-ticket-buttons"></div>
  775.    <div class="comment searchable">
  776.      <blockquote class="citation">
  777. <p>
  778. We should be busting the cache for every change made to any post type or their meta. It's somewhat expensive given the hierarchical nature of reply &gt; topic &gt; forum(s), but it's necessary to make sure we're getting the correct results.<br />
  779. </p>
  780. </blockquote>
  781. <p>
  782. Yes, editing existing posts doesn't need to recalculate counts but shouldn't be worth the trouble, to build extra work arounds. <br />
  783. </p>
  784. <p>
  785. Editing is a relativly rare scenario and avoiding caching issues should be more important. So, cleaning the chache for every change should be the safest way.<br />
  786. </p>
  787. <blockquote class="citation">
  788. <p>
  789. How's your test run looking?<br />
  790. </p>
  791. </blockquote>
  792. <p>
  793. The specific bug (moving multiple topics into a newly created forum) is gone. Even programmatically created posts seem to work better now (I just noticed another caching bug in this case a few days ago).<br />
  794. </p>
  795. <p>
  796. I've patched it in a live environment 2 days ago, too. No errors or other bad things happened so far. :-)<br />
  797. </p>
  798. <p>
  799. This is the function with the added <em>bbp_clean_post_cache()</em>:<br />
  800. </p>
  801. <pre class="wiki">function bbp_update_forum( $args = '' ) {
  802.  
  803. // Parse arguments against default values
  804. $r = bbp_parse_args( $args, array(
  805. 'forum_id'           =&gt; 0,
  806. 'post_parent'        =&gt; 0,
  807. 'last_topic_id'      =&gt; 0,
  808. 'last_reply_id'      =&gt; 0,
  809. 'last_active_id'     =&gt; 0,
  810. 'last_active_time'   =&gt; 0,
  811. 'last_active_status' =&gt; bbp_get_public_status_id()
  812. ), 'update_forum' );
  813.  
  814. // Last topic and reply ID's
  815. bbp_update_forum_last_topic_id( $r['forum_id'], $r['last_topic_id'] );
  816. bbp_update_forum_last_reply_id( $r['forum_id'], $r['last_reply_id'] );
  817. bbp_clean_post_cache( $r['forum_id'] );
  818.  
  819. // Active dance
  820. $r['last_active_id'] = bbp_update_forum_last_active_id( $r['forum_id'], $r['last_active_id'] );
  821.  
  822. // If no active time was passed, get it from the last_active_id
  823. if ( empty( $r['last_active_time'] ) ) {
  824. $r['last_active_time'] = get_post_field( 'post_date', $r['last_active_id'] );
  825. }
  826.  
  827. if ( bbp_get_public_status_id() === $r['last_active_status'] ) {
  828. bbp_update_forum_last_active_time( $r['forum_id'], $r['last_active_time'] );
  829. }
  830.  
  831. // Counts
  832. bbp_update_forum_subforum_count    ( $r['forum_id'] );
  833. bbp_update_forum_reply_count       ( $r['forum_id'] );
  834. bbp_update_forum_topic_count       ( $r['forum_id'] );
  835. bbp_update_forum_topic_count_hidden( $r['forum_id'] );
  836.  
  837. // Update the parent forum if one was passed
  838. if ( !empty( $r['post_parent'] ) &amp;&amp; is_numeric( $r['post_parent'] ) ) {
  839. bbp_update_forum( array(
  840. 'forum_id'    =&gt; $r['post_parent'],
  841. 'post_parent' =&gt; get_post_field( 'post_parent', $r['post_parent'] )
  842. ) );
  843. }
  844. }
  845. </pre>
  846.    </div>
  847.  
  848.              </div>
  849.              <div class="change" id="trac-change-13-1386196121656886">
  850.                
  851.  <h3 class="change">
  852.    <span class="threading">
  853.      <span id="comment:13" class="cnum">
  854.    <a href="#comment:13">#13</a>
  855.  </span>
  856.    </span>
  857.        <span class="avatar">
  858.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  859.            <img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
  860.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-12-04T22%3A28%3A41Z&amp;precision=second" title="See timeline at 12/04/2013 10:28:41 PM">11 years</a> ago</span>
  861.        </span>
  862.    <div class="trac-ticket-buttons">
  863.    </div>
  864.  </h3>
  865.  <div class="trac-ticket-buttons"></div>
  866.  <ul class="changes">
  867.    <li class="trac-field-owner">
  868.      <strong class="trac-field-owner">Owner</strong>
  869.        set to <em>johnjamesjacoby</em>
  870.    </li><li class="trac-field-status">
  871.      <strong class="trac-field-status">Status</strong>
  872.        changed from <em>reopened</em> to <em>new</em>
  873.    </li>
  874.  </ul>
  875.  
  876.              </div>
  877.              <div class="change" id="trac-change-14-1431411582334319">
  878.                
  879.  <h3 class="change">
  880.    <span class="threading">
  881.      <span id="comment:14" class="cnum">
  882.    <a href="#comment:14">#14</a>
  883.  </span>
  884.    </span>
  885.        <span class="avatar">
  886.          <span class="username-line"><a href="https://profiles.wordpress.org/thebrandonallen" class="profile-link">
  887.            <img src="https://wordpress.org/grav-redirect.php?user=thebrandonallen&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=thebrandonallen&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="thebrandonallen" data-nicename="thebrandonallen"><span class="trac-author">thebrandonallen</span></span></a></span>
  888.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2015-05-12T06%3A19%3A42Z&amp;precision=second" title="See timeline at 05/12/2015 06:19:42 AM">9 years</a> ago</span>
  889.        </span>
  890.    <div class="trac-ticket-buttons">
  891.    </div>
  892.  </h3>
  893.  <div class="trac-ticket-buttons"></div>
  894.  <ul class="changes">
  895.    <li class="trac-field-keywords">
  896.      <strong class="trac-field-keywords">Keywords</strong>
  897.        <em>has-patch</em> added; <em>dev-feedback</em> <em>needs-patch</em> removed
  898.    </li>
  899.  </ul>
  900.    <div class="comment searchable">
  901.      <p>
  902. Ran into this issue while working on tests for <a class="closed ticket" href="/ticket/2801" title="#2801: enhancement: Increased/improved count tests and the issues they uncovered (closed: fixed)">#2801</a>. Attached patch should be all that's needed.<br />
  903. </p>
  904.  
  905.    </div>
  906.  
  907.              </div>
  908.              <div class="change">
  909.                
  910.  <h3 class="change">
  911.    <span class="threading">
  912.    </span>
  913.        <span class="avatar">
  914.          <span class="username-line"><a href="https://profiles.wordpress.org/thebrandonallen" class="profile-link">
  915.            <img src="https://wordpress.org/grav-redirect.php?user=thebrandonallen&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=thebrandonallen&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="thebrandonallen" data-nicename="thebrandonallen"><span class="trac-author">thebrandonallen</span></span></a></span>
  916.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2015-05-12T06%3A20%3A12Z&amp;precision=second" title="See timeline at 05/12/2015 06:20:12 AM">9 years</a> ago</span>
  917.        </span>
  918.    <div class="trac-ticket-buttons">
  919.    </div>
  920.  </h3>
  921.  <div class="trac-ticket-buttons"></div>
  922.  <ul class="changes">
  923.    <li class="trac-field-attachment">
  924.      <strong class="trac-field-attachment">Attachment</strong>
  925.        <a href="/attachment/ticket/2322/2322.01.patch"><em>2322.01.patch</em></a><a href="/raw-attachment/ticket/2322/2322.01.patch" title="Download" class="trac-rawlink">​</a>
  926.          added
  927.    </li>
  928.  </ul>
  929.  
  930.              </div>
  931.              <div class="change" id="trac-change-15-1431459302795916">
  932.                
  933.  <h3 class="change">
  934.    <span class="threading">
  935.      <span id="comment:15" class="cnum">
  936.    <a href="#comment:15">#15</a>
  937.  </span>
  938.    </span>
  939.        <span class="avatar">
  940.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  941.            <img src="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=johnjamesjacoby&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="johnjamesjacoby" data-nicename="johnjamesjacoby"><span class="trac-author">johnjamesjacoby</span></span></a></span>
  942.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2015-05-12T19%3A35%3A02Z&amp;precision=second" title="See timeline at 05/12/2015 07:35:02 PM">9 years</a> ago</span>
  943.        </span>
  944.    <div class="trac-ticket-buttons">
  945.    </div>
  946.  </h3>
  947.  <div class="trac-ticket-buttons"></div>
  948.  <ul class="changes">
  949.    <li class="trac-field-resolution">
  950.      <strong class="trac-field-resolution">Resolution</strong>
  951.        set to <em>fixed</em>
  952.    </li><li class="trac-field-status">
  953.      <strong class="trac-field-status">Status</strong>
  954.        changed from <em>new</em> to <em>closed</em>
  955.    </li>
  956.  </ul>
  957.    <div class="comment searchable">
  958.      <p>
  959. In <a class="changeset" href="/changeset/5729" title="Topics: In `bbp_move_topic_handler()`, clean both old and new forum ...">5729</a>:<br />
  960. </p>
  961. <div class="message"><p>
  962. Topics: In <code>bbp_move_topic_handler()</code>, clean both old and new forum caches before updating forum hierarchies.<br />
  963. </p>
  964. <p>
  965. Fixes issue where moving a topic would result in incorrect counts for both forums, due to out-of-date cache values.<br />
  966. </p>
  967. <p>
  968. Props thebrandonallen. Fixes <a class="closed ticket" href="/ticket/2322" title="#2322: defect (bug): Moving Topic doesn't update _bbp_topic_count (closed: fixed)">#2322</a>.<br />
  969. </p>
  970. </div>
  971.    </div>
  972.  
  973.              </div>
  974.              <div class="change" id="trac-change-16-1432283409329449">
  975.                
  976.  <h3 class="change">
  977.    <span class="threading">
  978.      <span id="comment:16" class="cnum">
  979.    <a href="#comment:16">#16</a>
  980.  </span>
  981.    </span>
  982.        <span class="avatar">
  983.          <span class="username-line"><a href="https://profiles.wordpress.org/netweb" class="profile-link">
  984.            <img src="https://wordpress.org/grav-redirect.php?user=netweb&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=netweb&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="netweb" data-nicename="netweb"><span class="trac-author">netweb</span></span></a></span>
  985.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2015-05-22T08%3A30%3A09Z&amp;precision=second" title="See timeline at 05/22/2015 08:30:09 AM">9 years</a> ago</span>
  986.        </span>
  987.    <div class="trac-ticket-buttons">
  988.    </div>
  989.  </h3>
  990.  <div class="trac-ticket-buttons"></div>
  991.    <div class="comment searchable">
  992.      <p>
  993. In <a class="changeset" href="/changeset/5778" title="Topics: When moving a topic update the topics post parent in ...">5778</a>:<br />
  994. </p>
  995. <div class="message"><p>
  996. Topics: When moving a topic update the topics post parent in <code>bbp_move_topic_handler()</code>, includes unit test <code>test_bbp_move_topic_handler()</code><br />
  997. </p>
  998. <p>
  999. Props netweb. See <a class="closed ticket" href="/ticket/2322" title="#2322: defect (bug): Moving Topic doesn't update _bbp_topic_count (closed: fixed)">#2322</a><br />
  1000. </p>
  1001. </div>
  1002.    </div>
  1003.  
  1004.              </div>
  1005.          </div>
  1006.        </div>
  1007.      <div id="help"><strong>Note:</strong> See
  1008.        <a href="/wiki/TracTickets">TracTickets</a> for help on using
  1009.        tickets.</div>
  1010.    </div>
  1011.    <div id="altlinks">
  1012.    <a class="preferences-link" href="/prefs">Trac UI Preferences</a>
  1013.      <h3>Download in other formats:</h3>
  1014.      <ul>
  1015.        <li class="first">
  1016.          <a rel="nofollow" href="/ticket/2322?format=csv" class="csv">Comma-delimited Text</a>
  1017.        </li><li>
  1018.          <a rel="nofollow" href="/ticket/2322?format=tab" class="tab">Tab-delimited Text</a>
  1019.        </li><li class="last">
  1020.          <a rel="nofollow" href="/ticket/2322?format=rss" class="rss">RSS Feed</a>
  1021.        </li>
  1022.      </ul>
  1023. </div>
  1024.    </div>
  1025. <div id="footer">
  1026. <div class="links">
  1027. <p>
  1028. See also:
  1029. <a href="http://wordpress.org">WordPress.org</a> •
  1030. <a href="http://bbpress.org">bbPress.org</a> •
  1031. <a href="http://buddypress.org">BuddyPress.org</a> •
  1032. <a href="http://ma.tt">Matt</a> •
  1033. <a href="http://bbpress.org/feed/" title="RSS Feed for Articles">Blog RSS</a>
  1034. </p>
  1035. </div>
  1036. <div class="details">
  1037. <p>
  1038. <a href="http://twitter.com/bbpress" class="twitter">Follow bbPress on Twitter</a> •
  1039. <a href="http://bbpress.org/about/gpl/">GPL</a> •
  1040. <a href="http://bbpress.org/contact/">Contact Us</a> •
  1041. <a href="http://bbpress.org/terms/">Terms of Service</a>
  1042. </p>
  1043. </div>
  1044. </div>
  1045. <script>
  1046. var wpTracCurrentUser = "anonymous";
  1047. </script>
  1048. <script src="https://s.w.org/style/js/navigation.min.js?20190128"></script>
  1049. <script src="https://s.w.org/style/trac/jquery.caret.min.js?ver=2015-02-01"></script>
  1050. <script src="https://s.w.org/style/trac/jquery.atwho.min.js?ver=1.0.1"></script>
  1051. <script src="https://s.w.org/style/trac/wp-trac.js?220"></script>
  1052. </body>
  1053. </html>
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda