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: https://xosq.shop/ticket/2528?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.      #2528 (Topic Merge Freshness)
  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/2527" title="Ticket #2527" />
  24.          <link rel="last" href="/ticket/3609" title="Ticket #3609" />
  25.          <link rel="help" href="/wiki/TracGuide" />
  26.          <link rel="alternate" href="/ticket/2528?format=csv" type="text/csv" class="csv" title="Comma-delimited Text" />
  27.          <link rel="alternate" href="/ticket/2528?format=tab" type="text/tab-separated-values" class="tab" title="Tab-delimited Text" />
  28.          <link rel="alternate" href="/ticket/2528?format=rss" type="application/rss+xml" class="rss" title="RSS Feed" />
  29.          <link rel="next" href="/ticket/2529" title="Ticket #2529" />
  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="f167bbd33531389a24f2148e";
  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/2528" />
  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%2F2528" 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/2527" title="Ticket #2527">Previous Ticket</a></span></li><li class="last"><span><a class="next" href="/ticket/2529" title="Ticket #2529">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=2014-01-25T06%3A34%3A25Z&amp;precision=second" title="See timeline at 01/25/2014 06:34:25 AM">11 years ago</a></p>
  219.    <p>Closed <a class="timeline" href="/timeline?from=2014-09-10T22%3A52%3A47Z&amp;precision=second" title="See timeline at 09/10/2014 10:52:47 PM">10 years ago</a></p>
  220.  </div>
  221.  <h2>
  222.    <a href="/ticket/2528" class="trac-id">#2528</a>
  223.    <span class="trac-status">
  224.      <a href="/query?status=closed">closed</a>
  225.    </span>
  226.    <span class="trac-type">
  227.      <a href="/query?status=!closed&amp;type=defect+(bug)">defect (bug)</a>
  228.    </span>
  229.    <span class="trac-resolution">
  230.      (<a href="/query?status=closed&amp;resolution=fixed">fixed</a>)
  231.    </span>
  232.  </h2>
  233.  <h1 id="trac-ticket-title" class="searchable">
  234.    <span class="summary">Topic Merge Freshness</span>
  235.  </h1>
  236.  <table class="properties">
  237.    <tr>
  238.      <th id="h_reporter">Reported by:</th>
  239.      <td headers="h_reporter" class="searchable">
  240.  <a href="https://profiles.wordpress.org/netweb" data-nicename="netweb">
  241.    <img class="avatar" 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="netweb's profile" />
  242.  </a>
  243.    <a class="trac-author" href="/query?status=!closed&amp;reporter=netweb">netweb</a>
  244. </td>
  245.      <th id="h_owner">Owned by:</th>
  246.      <td headers="h_owner">
  247.  <a href="https://profiles.wordpress.org/netweb">
  248.    <img class="avatar" 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="netweb's profile" />
  249.  </a>
  250.    <a class="trac-author" href="/query?status=!closed&amp;owner=netweb">netweb</a>
  251. </td>
  252.    </tr>
  253.    <tr>
  254.        <th id="h_milestone">
  255.          Milestone:
  256.        </th>
  257.        <td headers="h_milestone">
  258.              <a class="closed milestone" href="/milestone/2.6" title="Completed 5 years ago (11/12/2019 05:00:00 PM)">2.6</a>
  259.        </td>
  260.        <th id="h_priority">
  261.          Priority:
  262.        </th>
  263.        <td headers="h_priority">
  264.              <a href="/query?status=!closed&amp;priority=normal">normal</a>
  265.        </td>
  266.    </tr><tr>
  267.        <th id="h_severity">
  268.          Severity:
  269.        </th>
  270.        <td headers="h_severity">
  271.              <a href="/query?status=!closed&amp;severity=normal">normal</a>
  272.        </td>
  273.        <th id="h_version">
  274.          Version:
  275.        </th>
  276.        <td headers="h_version">
  277.              <a href="/query?status=!closed&amp;version=2.5">2.5</a>
  278.        </td>
  279.    </tr><tr>
  280.        <th id="h_component">
  281.          Component:
  282.        </th>
  283.        <td headers="h_component">
  284.              <a href="/query?status=!closed&amp;component=Component+-+Topics">Component - Topics</a>
  285.        </td>
  286.        <th id="h_keywords">
  287.          Keywords:
  288.        </th>
  289.        <td headers="h_keywords" class="searchable">
  290.              <a href="/query?status=!closed&amp;keywords=~needs-patch">needs-patch</a> <a href="/query?status=!closed&amp;keywords=~needs-unit-tests">needs-unit-tests</a>
  291.        </td>
  292.    </tr><tr>
  293.        <th id="h_cc" class="missing">
  294.          Cc:
  295.        </th>
  296.        <td headers="h_cc" class="searchable">
  297.        </td>
  298.        <th class="missing">
  299.        </th>
  300.        <td>
  301.        </td>
  302.    </tr>
  303.  </table>
  304.  <div class="description">
  305.    <h3 id="comment:description">
  306.      Description
  307.    </h3>
  308.    <div class="searchable">
  309.      <p>
  310. Merge Topic Fresness<br />
  311. </p>
  312. <ul><li>Merge 'TopicB 2:00pm' topic into 'TopicA 1:00pm'
  313. </li><li>'TopicA' freshness is now 2:00pm
  314. </li><li>Merge 'TopicC 3:00pm' topic into 'TopicA 1:00pm'
  315. </li><li>'TopicA 1:00pm' topic freshness remains at 2:00pm
  316. </li></ul><p>
  317. Related: <a class="new ticket" href="/ticket/2329" title="#2329: defect (bug): The URLs of merged topics do not forward to the updated topic URL (new)">#2329</a><br />
  318. </p>
  319. <p>
  320. See: <code>bbp_merge_topic_handler</code> and <code>bbp_merge_topic_count</code><br />
  321. </p>
  322.  
  323.    </div>
  324.  </div>
  325. </div>
  326.          
  327.    <div id="attachments">
  328.        <h3 class="foldable">Attachments <span class="trac-count">(2)</span></h3>
  329.        <div class="attachments">
  330.          <dl class="attachments">
  331.              <dt>
  332.    <a href="/attachment/ticket/2528/2528.1.diff" title="View attachment">2528.1.diff</a><a href="/raw-attachment/ticket/2528/2528.1.diff" class="trac-rawlink" title="Download">​</a> (<span title="1665 bytes">1.6 KB</span>) - added by <span class="trac-author">netweb</span> <a class="timeline" href="/timeline?from=2014-06-17T14%3A10%3A18Z&amp;precision=second" title="See timeline at 06/17/2014 02:10:18 PM">10 years ago</a>.
  333.  </dt>
  334.              <dt>
  335.    <a href="/attachment/ticket/2528/2528.2.diff" title="View attachment">2528.2.diff</a><a href="/raw-attachment/ticket/2528/2528.2.diff" class="trac-rawlink" title="Download">​</a> (<span title="2496 bytes">2.4 KB</span>) - added by <span class="trac-author">netweb</span> <a class="timeline" href="/timeline?from=2014-09-10T02%3A09%3A11Z&amp;precision=second" title="See timeline at 09/10/2014 02:09:11 AM">10 years ago</a>.
  336.  </dt>
  337.          </dl>
  338.          <p>
  339.            Download all attachments as: <a rel="nofollow" href="/zip-attachment/ticket/2528/">.zip</a>
  340.          </p>
  341.          
  342.        </div>
  343.    </div>
  344.  
  345.        <div>
  346.          <div class="trac-noscript" style="position: relative">
  347.            <form id="prefs" method="get" action="/prefs" style="position: absolute; right: 0">
  348.              <div id="trac-comments-order">
  349.                <input type="radio" id="trac-comments-oldest" name="trac-comments-order" value="oldest" checked="checked" />
  350.                <label for="trac-comments-oldest">Oldest first</label>
  351.                <input type="radio" id="trac-comments-newest" name="trac-comments-order" value="newest" />
  352.                <label for="trac-comments-newest">Newest first</label>
  353.                <span id="trac-threaded-toggle" style="display: none">
  354.                  <input type="radio" id="trac-comments-threaded" name="trac-comments-order" value="threaded" />
  355.                  <label for="trac-comments-threaded">Threaded</label>
  356.                </span>
  357.              </div>
  358.              <div>
  359.                <input id="trac-show-comments-toggle" type="checkbox" checked="checked" />
  360.                <label for="trac-show-comments-toggle">Show comments</label>
  361.                <input id="trac-show-property-changes-toggle" type="checkbox" />
  362.                <label for="trac-show-property-changes-toggle">Show property changes</label>
  363.              </div>
  364.            </form>
  365.          </div>
  366.          <h3 class="foldable">Change History <span class="trac-count">(11)</span></h3>
  367.          <div id="changelog">
  368.              <div class="change" id="trac-change-1-1396777803223810">
  369.                
  370.  <h3 class="change">
  371.    <span class="threading">
  372.      <span id="comment:1" class="cnum">
  373.    <a href="#comment:1">#1</a>
  374.  </span>
  375.    </span>
  376.        <span class="avatar">
  377.          <span class="username-line"><a href="https://profiles.wordpress.org/netweb" class="profile-link">
  378.            <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>
  379.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2014-04-06T09%3A50%3A03Z&amp;precision=second" title="See timeline at 04/06/2014 09:50:03 AM">11 years</a> ago</span>
  380.        </span>
  381.    <div class="trac-ticket-buttons">
  382.    </div>
  383.  </h3>
  384.  <div class="trac-ticket-buttons"></div>
  385.  <ul class="changes">
  386.    <li class="trac-field-milestone">
  387.      <strong class="trac-field-milestone">Milestone</strong>
  388.        changed from <em>Awaiting Review</em> to <em>Future Release</em>
  389.    </li>
  390.  </ul>
  391.    <div class="comment searchable">
  392.      <p>
  393. Not a deal breaker, moving to future release pending a patch, then can be moved into an active milestone.<br />
  394. </p>
  395. <p>
  396. Workaround: Use the repair tools to recalculate freshness.<br />
  397. </p>
  398.  
  399.    </div>
  400.  
  401.              </div>
  402.              <div class="change" id="trac-change-2-1401507157570689">
  403.                
  404.  <h3 class="change">
  405.    <span class="threading">
  406.      <span id="comment:2" class="cnum">
  407.    <a href="#comment:2">#2</a>
  408.  </span>
  409.    </span>
  410.        <span class="avatar">
  411.          <span class="username-line"><a href="https://profiles.wordpress.org/netweb" class="profile-link">
  412.            <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>
  413.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2014-05-31T03%3A32%3A37Z&amp;precision=second" title="See timeline at 05/31/2014 03:32:37 AM">10 years</a> ago</span>
  414.        </span>
  415.    <div class="trac-ticket-buttons">
  416.    </div>
  417.  </h3>
  418.  <div class="trac-ticket-buttons"></div>
  419.  <ul class="changes">
  420.    <li class="trac-field-keywords">
  421.      <strong class="trac-field-keywords">Keywords</strong>
  422.        <em>needs-patch</em> <em>needs-unit-tests</em> added
  423.    </li><li class="trac-field-milestone">
  424.      <strong class="trac-field-milestone">Milestone</strong>
  425.        changed from <em>Future Release</em> to <em>Awaiting Review</em>
  426.    </li>
  427.  </ul>
  428.    <div class="comment searchable">
  429.      <p>
  430. Merging two topics:<br />
  431. </p>
  432. <ul><li>1st topic 10am (post_date is 10am <code>2014-05-30 10:00:00</code>)
  433. </li><li>2nd topic 11am (post_date is 11am <code>2014-05-30 11:00:00</code>)
  434. </li></ul><p>
  435. If we merge the 11am topic into the 10am topic then <code>$destination_topic</code> of 10am is older than the <code>$source_topic</code> of 11am so the <code>$destination_topic</code> date should be updated to <code>2014-05-30 10:59:59</code><br />
  436. </p>
  437. <p>
  438. Expected: Older topic (10am) post_date should now be updated to 10:59:59<br />
  439. Actual: No change to either topics post_date<br />
  440. </p>
  441. <p>
  442. If you merge the 10am topic into the 11am topic then the 11am topic post_date is updated to <code>2014-05-30 09:59:59</code>, so we are doing it backwards to what we actually want.<br />
  443. </p>
  444. <p>
  445. Relevant function <code>bbp_merge_topic_handler</code><br />
  446. </p>
  447. <div class="wiki-code"><div class="code"><pre><span class="cp">&lt;?php</span>
  448. <span class="c1">// Check if the destination topic is older than the source topic
  449. </span><span class="k">if</span> <span class="p">(</span> <span class="nb">strtotime</span><span class="p">(</span> <span class="nv">$source_topic</span><span class="o">-&gt;</span><span class="na">post_date</span> <span class="p">)</span> <span class="o">&lt;</span> <span class="nb">strtotime</span><span class="p">(</span> <span class="nv">$destination_topic</span><span class="o">-&gt;</span><span class="na">post_date</span> <span class="p">)</span> <span class="p">)</span> <span class="p">{</span>
  450.  
  451.        <span class="c1">// Set destination topic post_date to 1 second before source topic
  452. </span>        <span class="nv">$destination_post_date</span> <span class="o">=</span> <span class="nb">date</span><span class="p">(</span> <span class="s1">'Y-m-d H:i:s'</span><span class="p">,</span> <span class="nb">strtotime</span><span class="p">(</span> <span class="nv">$source_topic</span><span class="o">-&gt;</span><span class="na">post_date</span> <span class="p">)</span> <span class="o">-</span> <span class="mi">1</span> <span class="p">);</span>
  453.  
  454.        <span class="c1">// Update destination topic
  455. </span>        <span class="nx">wp_update_post</span><span class="p">(</span> <span class="k">array</span><span class="p">(</span>
  456.                <span class="s1">'ID'</span>            <span class="o">=&gt;</span> <span class="nv">$destination_topic_id</span><span class="p">,</span>
  457.                <span class="s1">'post_date'</span>     <span class="o">=&gt;</span> <span class="nv">$destination_post_date</span><span class="p">,</span>
  458.                <span class="s1">'post_date_gmt'</span> <span class="o">=&gt;</span> <span class="nx">get_gmt_from_date</span><span class="p">(</span> <span class="nv">$destination_post_date</span> <span class="p">)</span>
  459.        <span class="p">)</span> <span class="p">);</span>
  460. <span class="p">}</span>
  461. </pre></div></div><p>
  462. Currently we are actually <em>"Checking if the source topic <strong>less than</strong> than the destination topic"</em><br />
  463. </p>
  464. <div class="wiki-code"><div class="code"><pre><span class="cp">&lt;?php</span>
  465. <span class="c1">// Check if the destination topic is older than the source topic
  466. </span><span class="k">if</span> <span class="p">(</span> <span class="nb">strtotime</span><span class="p">(</span> <span class="nv">$source_topic</span><span class="o">-&gt;</span><span class="na">post_date</span> <span class="p">)</span> <span class="o">&lt;</span> <span class="nb">strtotime</span><span class="p">(</span> <span class="nv">$destination_topic</span><span class="o">-&gt;</span><span class="na">post_date</span> <span class="p">)</span> <span class="p">)</span> <span class="p">{</span>
  467. </pre></div></div><p>
  468. It should be <em>"Checking if the source topic is <strong>greater than</strong> than the destination topic"</em><br />
  469. </p>
  470. <div class="wiki-code"><div class="code"><pre><span class="cp">&lt;?php</span>
  471. <span class="c1">// Check if the destination topic is older than the source topic
  472. </span><span class="k">if</span> <span class="p">(</span> <span class="nb">strtotime</span><span class="p">(</span> <span class="nv">$source_topic</span><span class="o">-&gt;</span><span class="na">post_date</span> <span class="p">)</span> <span class="o">&gt;</span> <span class="nb">strtotime</span><span class="p">(</span> <span class="nv">$destination_topic</span><span class="o">-&gt;</span><span class="na">post_date</span> <span class="p">)</span> <span class="p">)</span> <span class="p">{</span>
  473. </pre></div></div><p>
  474. Or maybe a clearer way to write the function based on the comment verbiage:<br />
  475. </p>
  476. <div class="wiki-code"><div class="code"><pre><span class="cp">&lt;?php</span>
  477. <span class="c1">// Check if the destination topic is older than the source topic
  478. </span><span class="k">if</span> <span class="p">(</span> <span class="nb">strtotime</span><span class="p">(</span> <span class="nv">$destination_topic</span><span class="o">-&gt;</span><span class="na">post_date</span> <span class="p">)</span> <span class="o">&lt;</span> <span class="nb">strtotime</span><span class="p">(</span> <span class="nv">$source_topic</span><span class="o">-&gt;</span><span class="na">post_date</span> <span class="p">)</span> <span class="p">)</span> <span class="p">{</span>
  479. </pre></div></div><hr />
  480. <p>
  481. Now in theory if we merge two topics, the 1:20pm into 1:10pm per:<br />
  482. </p>
  483. <ul><li><a class="missing ticket">#25596</a> May 30, 2014 at 1:10 pm Topic One Topic 1:10pm
  484. </li><li><a class="missing ticket">#25597</a> May 30, 2014 at 1:30 pm Topic One Reply 1:30pm
  485. </li><li><a class="missing ticket">#25598</a> May 30, 2014 at 1:50 pm Topic One Reply 1:50pm
  486. </li></ul><ul><li><a class="missing ticket">#25599</a> May 30, 2014 at 1:20 pm Topic Two Topic 1:20pm
  487. </li><li><a class="missing ticket">#25600</a> May 30, 2014 at 1:40 pm Topic Two Reply 1:40pm
  488. </li><li><a class="missing ticket">#25601</a> May 30, 2014 at 2:00 pm Topic Two Topic 2:00pm
  489. </li></ul><p>
  490. Expected Results:<br />
  491. </p>
  492. <ul><li><a class="missing ticket">#25596</a> May 30, 2014 at 1:<strong>19</strong> pm Topic One Topic 1:10pm
  493. </li><li><a class="missing ticket">#25599</a> May 30, 2014 at 1:20 pm Topic Two Topic 1:20pm
  494. </li><li><a class="missing ticket">#25597</a> May 30, 2014 at 1:30 pm Topic One Reply 1:30pm
  495. </li><li><a class="missing ticket">#25600</a> May 30, 2014 at 1:40 pm Topic Two Reply 1:40pm
  496. </li><li><a class="missing ticket">#25598</a> May 30, 2014 at 1:50 pm Topic One Reply 1:50pm
  497. </li><li><a class="missing ticket">#25601</a> May 30, 2014 at 2:00 pm Topic Two Topic 2:00pm
  498. </li></ul><p>
  499. Actual results:<br />
  500. </p>
  501. <ul><li><a class="missing ticket">#25596</a> May 30, 2014 at 1:19 pm Topic One Topic 1:10pm
  502. </li><li><a class="missing ticket">#25597</a> May 30, 2014 at 1:30 pm Topic One Reply 1:30pm
  503. </li><li><a class="missing ticket">#25598</a> May 30, 2014 at 1:50 pm Topic One Reply 1:50pm
  504. </li><li><a class="missing ticket">#25599</a> May 30, 2014 at 1:20 pm Topic Two Topic 1:20pm
  505. </li><li><a class="missing ticket">#25600</a> May 30, 2014 at 1:40 pm Topic Two Reply 1:40pm
  506. </li><li><a class="missing ticket">#25601</a> May 30, 2014 at 2:00 pm Topic Two Topic 2:00pm
  507. </li></ul><p>
  508. It looks like the replies from the source topic are not getting updated <code>menu_order</code><br />
  509. </p>
  510. <table class="wiki">
  511. <tr><td>ID</td><td>post_date</td><td>post_content</td><td>post_name</td><td>post_type</td><td>post_parent</td><td style="text-align: left">menu_order
  512. </td></tr><tr><td>25596</td><td>2014-05-30 13:19:59</td><td>Topic One Topic 1:10pm</td><td>topic-one-topic-110pm</td><td>topic</td><td>25451</td><td>0
  513. </td></tr><tr><td>25597</td><td>2014-05-30 13:30:00</td><td>Topic One Reply 1:30pm</td><td>25597</td><td>reply</td><td>25596</td><td>1
  514. </td></tr><tr><td>25598</td><td>2014-05-30 13:50:00</td><td>Topic One Reply 1:50pm</td><td>25598</td><td>reply</td><td>25596</td><td>2
  515. </td></tr><tr><td>25599</td><td>2014-05-30 13:20:00</td><td>Topic Two Topic 1:20pm</td><td>reply-to-topic-one-topic-110pm</td><td>reply</td><td>25596</td><td>3
  516. </td></tr><tr><td>25600</td><td>2014-05-30 13:40:00</td><td>Topic Two Reply 1:40pm</td><td>reply-to-topic-one-topic-110pm-2</td><td>reply</td><td>25596</td><td>1</td><td> &lt;- Source Reply
  517. </td></tr><tr><td>25601</td><td>2014-05-30 14:00:00</td><td>Topic Two Topic 2:00pm</td><td>reply-to-topic-one-topic-110pm-3</td><td>reply</td><td>25596</td><td>2</td><td> &lt;- Source Reply
  518. </td></tr></table>
  519.  
  520.    </div>
  521.  
  522.              </div>
  523.              <div class="change" id="trac-change-3-1402529517075224">
  524.                
  525.  <h3 class="change">
  526.    <span class="threading">
  527.      <span id="comment:3" class="cnum">
  528.    <a href="#comment:3">#3</a>
  529.  </span>
  530.    </span>
  531.        <span class="avatar">
  532.          <span class="username-line"><a href="https://profiles.wordpress.org/netweb" class="profile-link">
  533.            <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>
  534.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2014-06-11T23%3A31%3A57Z&amp;precision=second" title="See timeline at 06/11/2014 11:31:57 PM">10 years</a> ago</span>
  535.        </span>
  536.    <div class="trac-ticket-buttons">
  537.    </div>
  538.  </h3>
  539.  <div class="trac-ticket-buttons"></div>
  540.  <ul class="changes">
  541.    <li class="trac-field-milestone">
  542.      <strong class="trac-field-milestone">Milestone</strong>
  543.        changed from <em>Awaiting Review</em> to <em>2.6</em>
  544.    </li><li class="trac-field-owner">
  545.      <strong class="trac-field-owner">Owner</strong>
  546.        set to <em>netweb</em>
  547.    </li>
  548.  </ul>
  549.  
  550.              </div>
  551.              <div class="change" id="trac-change-4-1402846979258775">
  552.                
  553.  <h3 class="change">
  554.    <span class="threading">
  555.      <span id="comment:4" class="cnum">
  556.    <a href="#comment:4">#4</a>
  557.  </span>
  558.    </span>
  559.        <span class="avatar">
  560.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  561.            <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>
  562.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2014-06-15T15%3A42%3A59Z&amp;precision=second" title="See timeline at 06/15/2014 03:42:59 PM">10 years</a> ago</span>
  563.        </span>
  564.    <div class="trac-ticket-buttons">
  565.    </div>
  566.  </h3>
  567.  <div class="trac-ticket-buttons"></div>
  568.  <ul class="changes">
  569.    <li class="trac-field-resolution">
  570.      <strong class="trac-field-resolution">Resolution</strong>
  571.        set to <em>fixed</em>
  572.    </li><li class="trac-field-status">
  573.      <strong class="trac-field-status">Status</strong>
  574.        changed from <em>new</em> to <em>closed</em>
  575.    </li>
  576.  </ul>
  577.    <div class="comment searchable">
  578.      <p>
  579. In <a class="changeset" href="/changeset/5404" title="Correctly compare source &amp; destination topic `post_date` values in ...">5404</a>:<br />
  580. </p>
  581. <div class="message"><p>
  582. Correctly compare source &amp; destination topic <code>post_date</code> values in <code>bbp_merge_topic_handler()</code>. Fixes issue where incorrect post would be updated when merging older topics into newer ones.<br />
  583. </p>
  584. <p>
  585. Also update the reply position for all newly relocated replies. Hat-tip netweb. Fixes <a class="closed ticket" href="/ticket/2528" title="#2528: defect (bug): Topic Merge Freshness (closed: fixed)">#2528</a>.<br />
  586. </p>
  587. </div>
  588.    </div>
  589.  
  590.              </div>
  591.              <div class="change">
  592.                
  593.  <h3 class="change">
  594.    <span class="threading">
  595.    </span>
  596.        <span class="avatar">
  597.          <span class="username-line"><a href="https://profiles.wordpress.org/netweb" class="profile-link">
  598.            <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>
  599.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2014-06-17T14%3A10%3A18Z&amp;precision=second" title="See timeline at 06/17/2014 02:10:18 PM">10 years</a> ago</span>
  600.        </span>
  601.    <div class="trac-ticket-buttons">
  602.    </div>
  603.  </h3>
  604.  <div class="trac-ticket-buttons"></div>
  605.  <ul class="changes">
  606.    <li class="trac-field-attachment">
  607.      <strong class="trac-field-attachment">Attachment</strong>
  608.        <a href="/attachment/ticket/2528/2528.1.diff"><em>2528.1.diff</em></a><a href="/raw-attachment/ticket/2528/2528.1.diff" title="Download" class="trac-rawlink">​</a>
  609.          added
  610.    </li>
  611.  </ul>
  612.  
  613.              </div>
  614.              <div class="change" id="trac-change-5-1403014294818967">
  615.                
  616.  <h3 class="change">
  617.    <span class="threading">
  618.      <span id="comment:5" class="cnum">
  619.    <a href="#comment:5">#5</a>
  620.  </span>
  621.    </span>
  622.        <span class="avatar">
  623.          <span class="username-line"><a href="https://profiles.wordpress.org/netweb" class="profile-link">
  624.            <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>
  625.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2014-06-17T14%3A11%3A34Z&amp;precision=second" title="See timeline at 06/17/2014 02:11:34 PM">10 years</a> ago</span>
  626.        </span>
  627.    <div class="trac-ticket-buttons">
  628.    </div>
  629.  </h3>
  630.  <div class="trac-ticket-buttons"></div>
  631.  <ul class="changes">
  632.    <li class="trac-field-resolution">
  633.      <strong class="trac-field-resolution">Resolution</strong>
  634.        <em>fixed</em> deleted
  635.    </li><li class="trac-field-status">
  636.      <strong class="trac-field-status">Status</strong>
  637.        changed from <em>closed</em> to <em>reopened</em>
  638.    </li>
  639.  </ul>
  640.    <div class="comment searchable">
  641.      <p>
  642. This is still not quite right:<br />
  643. </p>
  644. <ul><li>Merged replies and source topic topic are assigned a post title
  645. </li><li>Merged replies and source topic topic are assigned a post name
  646. </li><li>Reply <code>menu_order</code> is assigned the old source topic <code>menu_order</code> rather than destination <code>menu_order</code>
  647. <ul><li><em>(i.e. Don't update <code>menu_order</code> until after the <code>post_parent</code> has been updated)</em>
  648. </li></ul></li></ul><p>
  649. Attached patch 2528.1.diff addresses the above and also removes source topic's last and count meta data.<br />
  650. </p>
  651. <hr />
  652. <p>
  653. The above patch <strong><em>only</em></strong> fully works alongside patch 2623.1.diff in <a class="closed ticket" href="/ticket/2623" title="#2623: defect (bug): Reply To functions parameter order (closed: invalid)">#2623</a>, specifics details are in that ticket, without 2623.1.diff <code>reply_to</code> values are created of themselves in post meta for merged replies.<br />
  654. </p>
  655. <p>
  656. Related: <a class="closed ticket" href="/ticket/2623" title="#2623: defect (bug): Reply To functions parameter order (closed: invalid)">#2623</a><br />
  657. </p>
  658. <hr />
  659. <p>
  660. Also because our source topic <code>post_name</code> after merging get's an updated post meta key <code>_wp_old_slug</code> that is a <a class="wiki" href="/wiki/WordPress">WordPress</a> 301 redirect using the old slug to the new slug this should allow us to forward the URL of reply notifications from the old topic per <a class="new ticket" href="/ticket/2329" title="#2329: defect (bug): The URLs of merged topics do not forward to the updated topic URL (new)">#2329</a> if <a class="new ticket" href="/ticket/2424" title="#2424: enhancement: Redirect single replies to parent topic (new)">#2424</a> is implemented.<br />
  661. </p>
  662. <p>
  663. Related: <a class="new ticket" href="/ticket/2329" title="#2329: defect (bug): The URLs of merged topics do not forward to the updated topic URL (new)">#2329</a> <a class="new ticket" href="/ticket/2424" title="#2424: enhancement: Redirect single replies to parent topic (new)">#2424</a><br />
  664. </p>
  665. <hr />
  666. <p>
  667. Similar issues to the above are also needed for the 'Split Topic' function, see <a class="closed ticket" href="/ticket/2624" title="#2624: defect (bug): Split topics function updates including reply position and reply title (closed: fixed)">#2624</a><br />
  668. </p>
  669.  
  670.    </div>
  671.  
  672.              </div>
  673.              <div class="change">
  674.                
  675.  <h3 class="change">
  676.    <span class="threading">
  677.    </span>
  678.        <span class="avatar">
  679.          <span class="username-line"><a href="https://profiles.wordpress.org/netweb" class="profile-link">
  680.            <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>
  681.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2014-09-10T02%3A09%3A11Z&amp;precision=second" title="See timeline at 09/10/2014 02:09:11 AM">10 years</a> ago</span>
  682.        </span>
  683.    <div class="trac-ticket-buttons">
  684.    </div>
  685.  </h3>
  686.  <div class="trac-ticket-buttons"></div>
  687.  <ul class="changes">
  688.    <li class="trac-field-attachment">
  689.      <strong class="trac-field-attachment">Attachment</strong>
  690.        <a href="/attachment/ticket/2528/2528.2.diff"><em>2528.2.diff</em></a><a href="/raw-attachment/ticket/2528/2528.2.diff" title="Download" class="trac-rawlink">​</a>
  691.          added
  692.    </li>
  693.  </ul>
  694.  
  695.              </div>
  696.              <div class="change" id="trac-change-6-1410387505091593">
  697.                
  698.  <h3 class="change">
  699.    <span class="threading">
  700.      <span id="comment:6" class="cnum">
  701.    <a href="#comment:6">#6</a>
  702.  </span>
  703.    </span>
  704.        <span class="avatar">
  705.          <span class="username-line"><a href="https://profiles.wordpress.org/netweb" class="profile-link">
  706.            <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>
  707.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2014-09-10T22%3A18%3A25Z&amp;precision=second" title="See timeline at 09/10/2014 10:18:25 PM">10 years</a> ago</span>
  708.        </span>
  709.    <div class="trac-ticket-buttons">
  710.    </div>
  711.  </h3>
  712.  <div class="trac-ticket-buttons"></div>
  713.    <div class="comment searchable">
  714.      <p>
  715. In <a class="ext-link" href="https://bbpress.trac.wordpress.org/attachment/ticket/2528/2528.2.diff"><span class="icon">​</span>2528.2.diff</a> refreshes 2528.1.diff with the following additions:<br />
  716. </p>
  717. <ul><li>Reverts <a class="changeset" href="/changeset/5404" title="Correctly compare source &amp; destination topic `post_date` values in ...">r5404</a> <code>strtotime</code> - Antiprops netweb. (I blame the <em>epoch's</em>, long detailed description available if req.)
  718. </li><li>Removes the <code>bbp_update_reply_to()</code> <em>"adjust reply to values"</em> reply to updates, a threaded reply is always a reply to a reply, if we move a reply as part of a merge any reply to another reply will still be a reply to the same reply ID.
  719. </li></ul><p>
  720. Patch 2528.2.diff​ fully tested with 'non-threaded' and "thread replies" -&gt; <a class="ext-link" href="https://cloudup.com/cvnzD1f85HG"><span class="icon">​</span>https://cloudup.com/cvnzD1f85HG</a><br />
  721. </p>
  722.  
  723.    </div>
  724.  
  725.              </div>
  726.              <div class="change" id="trac-change-7-1410388786363482">
  727.                
  728.  <h3 class="change">
  729.    <span class="threading">
  730.      <span id="comment:7" class="cnum">
  731.    <a href="#comment:7">#7</a>
  732.  </span>
  733.    </span>
  734.        <span class="avatar">
  735.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  736.            <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>
  737.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2014-09-10T22%3A39%3A46Z&amp;precision=second" title="See timeline at 09/10/2014 10:39:46 PM">10 years</a> ago</span>
  738.        </span>
  739.    <div class="trac-ticket-buttons">
  740.    </div>
  741.  </h3>
  742.  <div class="trac-ticket-buttons"></div>
  743.    <div class="comment searchable">
  744.      <p>
  745. In <a class="ext-link" href="https://bbpress.trac.wordpress.org/attachment/ticket/2528/2528.2.diff"><span class="icon">​</span>2528.2.diff</a> why set the <code>post_name</code> to <code>$reply-&gt;ID</code>? We seem to set it to false everywhere else, and let <code>wp_update_post()</code> take care of the slug for us.<br />
  746. </p>
  747.  
  748.    </div>
  749.  
  750.              </div>
  751.              <div class="change" id="trac-change-8-1410389221966242">
  752.                
  753.  <h3 class="change chat-bot">
  754.    <span class="avatar">
  755.      <span class="username-line">
  756.        <img src="https://wordpress.org/grav-redirect.php?user=ircbot&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=ircbot&amp;s=96 2x" height="48" width="48" alt="" />
  757.        <p>
  758. <em>This ticket was mentioned in IRC in #bbpress-dev by jjj. <a class="ext-link" href="http://irclogs.wordpress.org/chanlog.php?channel=bbpress-dev&amp;day=2014-09-10&amp;sort=asc#m22475"><span class="icon">​</span>View the logs</a>.</em><br />
  759. </p>
  760.      </span>
  761.      <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2014-09-10T22%3A47%3A01Z&amp;precision=second" title="See timeline at 09/10/2014 10:47:01 PM">10 years</a> ago</span>
  762.    </span>
  763.    <div class="trac-ticket-buttons">
  764.    </div>
  765.  </h3>
  766.  
  767.              </div>
  768.              <div class="change" id="trac-change-9-1410389567194163">
  769.                
  770.  <h3 class="change">
  771.    <span class="threading">
  772.      <span id="comment:9" class="cnum">
  773.    <a href="#comment:9">#9</a>
  774.  </span>
  775.    </span>
  776.        <span class="avatar">
  777.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  778.            <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>
  779.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2014-09-10T22%3A52%3A47Z&amp;precision=second" title="See timeline at 09/10/2014 10:52:47 PM">10 years</a> ago</span>
  780.        </span>
  781.    <div class="trac-ticket-buttons">
  782.    </div>
  783.  </h3>
  784.  <div class="trac-ticket-buttons"></div>
  785.  <ul class="changes">
  786.    <li class="trac-field-resolution">
  787.      <strong class="trac-field-resolution">Resolution</strong>
  788.        set to <em>fixed</em>
  789.    </li><li class="trac-field-status">
  790.      <strong class="trac-field-status">Status</strong>
  791.        changed from <em>reopened</em> to <em>closed</em>
  792.    </li>
  793.  </ul>
  794.    <div class="comment searchable">
  795.      <p>
  796. In <a class="changeset" href="/changeset/5489" title="In `bbp_merge_topic_handler()` delete last and count metas, and update ...">5489</a>:<br />
  797. </p>
  798. <div class="message"><p>
  799. In <code>bbp_merge_topic_handler()</code> delete last and count metas, and update the reply position after call to <code>wp_update_post()</code>. Fixes bug where merging two topics with odd timestamps could result in orphaned or incorrect meta data and hierarchy positioning. Props netweb. Fixes <a class="closed ticket" href="/ticket/2528" title="#2528: defect (bug): Topic Merge Freshness (closed: fixed)">#2528</a>.<br />
  800. </p>
  801. </div>
  802.    </div>
  803.  
  804.              </div>
  805.          </div>
  806.        </div>
  807.      <div id="help"><strong>Note:</strong> See
  808.        <a href="/wiki/TracTickets">TracTickets</a> for help on using
  809.        tickets.</div>
  810.    </div>
  811.    <script type="text/javascript">
  812.        jQuery.loadStyleSheet("/pygments/trac.css", "text/css");
  813.    </script>
  814.    <div id="altlinks">
  815.    <a class="preferences-link" href="/prefs">Trac UI Preferences</a>
  816.      <h3>Download in other formats:</h3>
  817.      <ul>
  818.        <li class="first">
  819.          <a rel="nofollow" href="/ticket/2528?format=csv" class="csv">Comma-delimited Text</a>
  820.        </li><li>
  821.          <a rel="nofollow" href="/ticket/2528?format=tab" class="tab">Tab-delimited Text</a>
  822.        </li><li class="last">
  823.          <a rel="nofollow" href="/ticket/2528?format=rss" class="rss">RSS Feed</a>
  824.        </li>
  825.      </ul>
  826. </div>
  827.    </div>
  828. <div id="footer">
  829. <div class="links">
  830. <p>
  831. See also:
  832. <a href="http://wordpress.org">WordPress.org</a> •
  833. <a href="http://bbpress.org">bbPress.org</a> •
  834. <a href="http://buddypress.org">BuddyPress.org</a> •
  835. <a href="http://ma.tt">Matt</a> •
  836. <a href="http://bbpress.org/feed/" title="RSS Feed for Articles">Blog RSS</a>
  837. </p>
  838. </div>
  839. <div class="details">
  840. <p>
  841. <a href="http://twitter.com/bbpress" class="twitter">Follow bbPress on Twitter</a> •
  842. <a href="http://bbpress.org/about/gpl/">GPL</a> •
  843. <a href="http://bbpress.org/contact/">Contact Us</a> •
  844. <a href="http://bbpress.org/terms/">Terms of Service</a>
  845. </p>
  846. </div>
  847. </div>
  848. <script>
  849. var wpTracCurrentUser = "anonymous";
  850. </script>
  851. <script src="https://s.w.org/style/js/navigation.min.js?20190128"></script>
  852. <script src="https://s.w.org/style/trac/jquery.caret.min.js?ver=2015-02-01"></script>
  853. <script src="https://s.w.org/style/trac/jquery.atwho.min.js?ver=1.0.1"></script>
  854. <script src="https://s.w.org/style/trac/wp-trac.js?220"></script>
  855. </body>
  856. </html>
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda