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://blet.shop/ticket/2452?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.      #2452 (Multisite dynamic user roles bug)
  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/2451" title="Ticket #2451" />
  24.          <link rel="last" href="/ticket/3609" title="Ticket #3609" />
  25.          <link rel="help" href="/wiki/TracGuide" />
  26.          <link rel="alternate" href="/ticket/2452?format=csv" type="text/csv" class="csv" title="Comma-delimited Text" />
  27.          <link rel="alternate" href="/ticket/2452?format=tab" type="text/tab-separated-values" class="tab" title="Tab-delimited Text" />
  28.          <link rel="alternate" href="/ticket/2452?format=rss" type="application/rss+xml" class="rss" title="RSS Feed" />
  29.          <link rel="next" href="/ticket/2453" title="Ticket #2453" />
  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="0bb8e00ab204ac18c6d4a7b2";
  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/2452" />
  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%2F2452" 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/2451" title="Ticket #2451">Previous Ticket</a></span></li><li class="last"><span><a class="next" href="/ticket/2453" title="Ticket #2453">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-10-14T11%3A38%3A14Z&amp;precision=second" title="See timeline at 10/14/2013 11:38:14 AM">11 years ago</a></p>
  219.    <p>Closed <a class="timeline" href="/timeline?from=2017-01-11T20%3A09%3A56Z&amp;precision=second" title="See timeline at 01/11/2017 08:09:56 PM">8 years ago</a></p>
  220.  </div>
  221.  <h2>
  222.    <a href="/ticket/2452" class="trac-id">#2452</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">Multisite dynamic user roles bug</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/maniu" data-nicename="maniu">
  241.    <img class="avatar" src="https://wordpress.org/grav-redirect.php?user=maniu&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=maniu&amp;s=96 2x" height="48" width="48" alt="maniu's profile" />
  242.  </a>
  243.    <a class="trac-author" href="/query?status=!closed&amp;reporter=maniu">maniu</a>
  244. </td>
  245.      <th id="h_owner">Owned by:</th>
  246.      <td headers="h_owner">
  247.  <a href="https://profiles.wordpress.org/johnjamesjacoby">
  248.    <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" />
  249.  </a>
  250.    <a class="trac-author" href="/query?status=!closed&amp;owner=johnjamesjacoby">johnjamesjacoby</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=high">high</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.2">2.2</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=API+-+Roles%2FCapabilities">API - Roles/Capabilities</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=~has-patch">has-patch</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. Hello<br />
  311. </p>
  312. <p>
  313. <a class="ext-link" href="https://core.trac.wordpress.org//intertrac/3.4-3.6" title="3.4-3.6 in WordPress Trac"><span class="icon">​</span>WP:3.4-3.6</a><br />
  314. bbPress: 2.3.2-2.4.1<br />
  315. </p>
  316. <p>
  317. It took me some time but i finally have figured out that dynamic roles that are getting assigned to users when "Auto Role" is disabled are being unset before bp_forum_enforce_blocked is triggered.<br />
  318. This results in 404 for users.<br />
  319. </p>
  320. <p>
  321. <code>add_action( 'template_redirect', 'bbp_set_current_user_default_role', 7 );</code> managed to fix it for me but i am not sure what is un-setting dynamically assigned roles and if my fix does not have any down-site.<br />
  322. </p>
  323. <p>
  324. Hope my input helps.<br />
  325. </p>
  326. <p>
  327. Thanks,<br />
  328. Maniu<br />
  329. </p>
  330.  
  331.    </div>
  332.  </div>
  333. </div>
  334.          
  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">(13)</span></h3>
  358.          <div id="changelog">
  359.              <div class="change" id="trac-change-1-1381775238752189">
  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-10-14T18%3A27%3A18Z&amp;precision=second" title="See timeline at 10/14/2013 06:27:18 PM">11 years</a> ago</span>
  371.        </span>
  372.    <div class="trac-ticket-buttons">
  373.    </div>
  374.  </h3>
  375.  <div class="trac-ticket-buttons"></div>
  376.    <div class="comment searchable">
  377.      <p>
  378. Would be interested to see what exactly is causing this problem and how your solution this fixes it.<br />
  379. </p>
  380. <p>
  381. <code>bbp_set_current_user_default_role</code> has a <code>did_action( 'set_current_user' )</code> failsafe to prevent it from running more than once under normal operating conditions, which leads me to believe something unpredicted is happening.<br />
  382. </p>
  383. <p>
  384. Related: <a class="ext-link" href="https://core.trac.wordpress.org//intertrac/ticket%3A23016" title="ticket:23016 in WordPress Trac"><span class="icon">​</span>#WP23016</a><br />
  385. </p>
  386.  
  387.    </div>
  388.  
  389.              </div>
  390.              <div class="change" id="trac-change-2-1382464842217291">
  391.                
  392.  <h3 class="change">
  393.    <span class="threading">
  394.      <span id="comment:2" class="cnum">
  395.    <a href="#comment:2">#2</a>
  396.  </span>
  397.    </span>
  398.        <span class="avatar">
  399.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  400.            <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>
  401.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-10-22T18%3A00%3A42Z&amp;precision=second" title="See timeline at 10/22/2013 06:00:42 PM">11 years</a> ago</span>
  402.        </span>
  403.    <div class="trac-ticket-buttons">
  404.    </div>
  405.  </h3>
  406.  <div class="trac-ticket-buttons"></div>
  407.  <ul class="changes">
  408.    <li class="trac-field-milestone">
  409.      <strong class="trac-field-milestone">Milestone</strong>
  410.        changed from <em>Awaiting Review</em> to <em>2.5</em>
  411.    </li><li class="trac-field-owner">
  412.      <strong class="trac-field-owner">Owner</strong>
  413.        set to <em>johnjamesjacoby</em>
  414.    </li>
  415.  </ul>
  416.    <div class="comment searchable">
  417.      <p>
  418. Moving to 2.5 to research further.<br />
  419. </p>
  420.  
  421.    </div>
  422.  
  423.              </div>
  424.              <div class="change" id="trac-change-3-1385200925955835">
  425.                
  426.  <h3 class="change">
  427.    <span class="threading">
  428.      <span id="comment:3" class="cnum">
  429.    <a href="#comment:3">#3</a>
  430.  </span>
  431.    </span>
  432.        <span class="avatar">
  433.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  434.            <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>
  435.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-11-23T10%3A02%3A05Z&amp;precision=second" title="See timeline at 11/23/2013 10:02:05 AM">11 years</a> ago</span>
  436.        </span>
  437.    <div class="trac-ticket-buttons">
  438.    </div>
  439.  </h3>
  440.  <div class="trac-ticket-buttons"></div>
  441.  <ul class="changes">
  442.    <li class="trac-field-milestone">
  443.      <strong class="trac-field-milestone">Milestone</strong>
  444.        changed from <em>2.5</em> to <em>2.6</em>
  445.    </li>
  446.  </ul>
  447.    <div class="comment searchable">
  448.      <p>
  449. Unable to duplicate this, but my guess is there is a rogue call to <code>switch_to_blog()</code> occurring, that's causing the current user's roles and capabilities to be flushed. Any more insight you can provide would be really helpful.<br />
  450. </p>
  451. <p>
  452. Moving to 2.6 so we can get 2.5 out.<br />
  453. </p>
  454.  
  455.    </div>
  456.  
  457.              </div>
  458.              <div class="change" id="trac-change-4-1387141717756066">
  459.                
  460.  <h3 class="change">
  461.    <span class="threading">
  462.      <span id="comment:4" class="cnum">
  463.    <a href="#comment:4">#4</a>
  464.  </span>
  465.    </span>
  466.        <span class="avatar">
  467.          <span class="username-line"><a href="https://profiles.wordpress.org/ubernaut" class="profile-link">
  468.            <img src="https://wordpress.org/grav-redirect.php?user=ubernaut&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=ubernaut&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="ubernaut" data-nicename="ubernaut"><span class="trac-author">ubernaut</span></span></a></span>
  469.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-12-15T21%3A08%3A37Z&amp;precision=second" title="See timeline at 12/15/2013 09:08:37 PM">11 years</a> ago</span>
  470.        </span>
  471.    <div class="trac-ticket-buttons">
  472.    </div>
  473.  </h3>
  474.  <div class="trac-ticket-buttons"></div>
  475.    <div class="comment searchable">
  476.      <p>
  477. please ignore/delete this comment i thought i could confirm this but i was not checking it correctly. having a similar issue but not sure if tis the same one at this point.<br />
  478. </p>
  479.  
  480.    </div>
  481.  <div class="trac-lastedit ">
  482.    Last edited <a class="timeline" href="/timeline?from=2013-12-15T21%3A27%3A05Z&amp;precision=second" title="See timeline at 12/15/2013 09:27:05 PM">11 years ago</a>
  483.        by <span class="trac-author">ubernaut</span>
  484.      (<a href="/ticket/2452?cversion=2&amp;cnum_hist=4#comment:4">previous</a>)
  485.      (<a href="/ticket/2452?action=comment-diff&amp;cnum=4&amp;version=3">diff</a>)
  486.  </div>
  487.  
  488.              </div>
  489.              <div class="change" id="trac-change-5-1387141724523324">
  490.                
  491.  <h3 class="change">
  492.    <span class="threading">
  493.      <span id="comment:5" class="cnum">
  494.    <a href="#comment:5">#5</a>
  495.  </span>
  496.    </span>
  497.        <span class="avatar">
  498.          <span class="username-line"><a href="https://profiles.wordpress.org/ubernaut" class="profile-link">
  499.            <img src="https://wordpress.org/grav-redirect.php?user=ubernaut&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=ubernaut&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="ubernaut" data-nicename="ubernaut"><span class="trac-author">ubernaut</span></span></a></span>
  500.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-12-15T21%3A08%3A44Z&amp;precision=second" title="See timeline at 12/15/2013 09:08:44 PM">11 years</a> ago</span>
  501.        </span>
  502.    <div class="trac-ticket-buttons">
  503.    </div>
  504.  </h3>
  505.  <div class="trac-ticket-buttons"></div>
  506.  <ul class="changes">
  507.    <li class="trac-field-cc">
  508.      <strong class="trac-field-cc">Cc</strong>
  509.        <em>ubernaut</em> added
  510.    </li>
  511.  </ul>
  512.  
  513.              </div>
  514.              <div class="change" id="trac-change-6-1387142714457661">
  515.                
  516.  <h3 class="change">
  517.    <span class="threading">
  518.      <span id="comment:6" class="cnum">
  519.    <a href="#comment:6">#6</a>
  520.  </span>
  521.    </span>
  522.        <span class="avatar">
  523.          <span class="username-line"><a href="https://profiles.wordpress.org/ubernaut" class="profile-link">
  524.            <img src="https://wordpress.org/grav-redirect.php?user=ubernaut&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=ubernaut&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="ubernaut" data-nicename="ubernaut"><span class="trac-author">ubernaut</span></span></a></span>
  525.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-12-15T21%3A25%3A14Z&amp;precision=second" title="See timeline at 12/15/2013 09:25:14 PM">11 years</a> ago</span>
  526.        </span>
  527.    <div class="trac-ticket-buttons">
  528.    </div>
  529.  </h3>
  530.  <div class="trac-ticket-buttons"></div>
  531.  <ul class="changes">
  532.    <li class="trac-field-cc">
  533.      <strong class="trac-field-cc">Cc</strong>
  534.        <em>ubernaut</em> removed
  535.    </li>
  536.  </ul>
  537.  
  538.              </div>
  539.              <div class="change" id="trac-change-7-1393357105936901">
  540.                
  541.  <h3 class="change">
  542.    <span class="threading">
  543.      <span id="comment:7" class="cnum">
  544.    <a href="#comment:7">#7</a>
  545.  </span>
  546.    </span>
  547.        <span class="avatar">
  548.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  549.            <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>
  550.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2014-02-25T19%3A38%3A25Z&amp;precision=second" title="See timeline at 02/25/2014 07:38:25 PM">11 years</a> ago</span>
  551.        </span>
  552.    <div class="trac-ticket-buttons">
  553.    </div>
  554.  </h3>
  555.  <div class="trac-ticket-buttons"></div>
  556.  <ul class="changes">
  557.    <li class="trac-field-milestone">
  558.      <strong class="trac-field-milestone">Milestone</strong>
  559.        changed from <em>2.6</em> to <em>2.7</em>
  560.    </li>
  561.  </ul>
  562.    <div class="comment searchable">
  563.      <p>
  564. Punting to 2.7.<br />
  565. </p>
  566.  
  567.    </div>
  568.  
  569.              </div>
  570.              <div class="change" id="trac-change-8-1410290855386117">
  571.                
  572.  <h3 class="change">
  573.    <span class="threading">
  574.      <span id="comment:8" class="cnum">
  575.    <a href="#comment:8">#8</a>
  576.  </span>
  577.    </span>
  578.        <span class="avatar">
  579.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  580.            <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>
  581.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2014-09-09T19%3A27%3A35Z&amp;precision=second" title="See timeline at 09/09/2014 07:27:35 PM">10 years</a> ago</span>
  582.        </span>
  583.    <div class="trac-ticket-buttons">
  584.    </div>
  585.  </h3>
  586.  <div class="trac-ticket-buttons"></div>
  587.  <ul class="changes">
  588.    <li class="trac-field-milestone">
  589.      <strong class="trac-field-milestone">Milestone</strong>
  590.        changed from <em>2.7</em> to <em>2.8</em>
  591.    </li>
  592.  </ul>
  593.    <div class="comment searchable">
  594.      <p>
  595. Bumping all 2.7 to 2.8 milestone.<br />
  596. </p>
  597.  
  598.    </div>
  599.  
  600.              </div>
  601.              <div class="change" id="trac-change-9-1477977200466017">
  602.                
  603.  <h3 class="change">
  604.    <span class="threading">
  605.      <span id="comment:9" class="cnum">
  606.    <a href="#comment:9">#9</a>
  607.  </span>
  608.    </span>
  609.        <span class="avatar">
  610.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  611.            <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>
  612.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2016-11-01T05%3A13%3A20Z&amp;precision=second" title="See timeline at 11/01/2016 05:13:20 AM">8 years</a> ago</span>
  613.        </span>
  614.    <div class="trac-ticket-buttons">
  615.    </div>
  616.  </h3>
  617.  <div class="trac-ticket-buttons"></div>
  618.  <ul class="changes">
  619.    <li class="trac-field-keywords">
  620.      <strong class="trac-field-keywords">Keywords</strong>
  621.        <em>has-patch</em> added; <em>needs-patch</em> removed
  622.    </li><li class="trac-field-milestone">
  623.      <strong class="trac-field-milestone">Milestone</strong>
  624.        changed from <em>2.8</em> to <em>2.6</em>
  625.    </li><li class="trac-field-priority">
  626.      <strong class="trac-field-priority">Priority</strong>
  627.        changed from <em>normal</em> to <em>high</em>
  628.    </li><li class="trac-field-version">
  629.      <strong class="trac-field-version">Version</strong>
  630.        changed from <em>2.4.1</em> to <em>2.2</em>
  631.    </li>
  632.  </ul>
  633.  
  634.              </div>
  635.              <div class="change" id="trac-change-10-1477977270358375">
  636.                
  637.  <h3 class="change">
  638.    <span class="threading">
  639.      <span id="comment:10" class="cnum">
  640.    <a href="#comment:10">#10</a>
  641.  </span>
  642.    </span>
  643.        <span class="avatar">
  644.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  645.            <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>
  646.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2016-11-01T05%3A14%3A30Z&amp;precision=second" title="See timeline at 11/01/2016 05:14:30 AM">8 years</a> ago</span>
  647.        </span>
  648.    <div class="trac-ticket-buttons">
  649.    </div>
  650.  </h3>
  651.  <div class="trac-ticket-buttons"></div>
  652.    <div class="comment searchable">
  653.      <p>
  654. In <a class="changeset" href="/changeset/6106" title="Roles: Introduce `bbp_roles_init` subaction, and use this for future ...">6106</a>:<br />
  655. </p>
  656. <div class="message"><p>
  657. Roles: Introduce <code>bbp_roles_init</code> subaction, and use this for future dynamic roles initialization.<br />
  658. </p>
  659. <p>
  660. See: <a class="closed ticket" href="/ticket/2452" title="#2452: defect (bug): Multisite dynamic user roles bug (closed: fixed)">#2452</a>;<br />
  661. </p>
  662. </div>
  663.    </div>
  664.  
  665.              </div>
  666.              <div class="change" id="trac-change-11-1477977661027046">
  667.                
  668.  <h3 class="change">
  669.    <span class="threading">
  670.      <span id="comment:11" class="cnum">
  671.    <a href="#comment:11">#11</a>
  672.  </span>
  673.    </span>
  674.        <span class="avatar">
  675.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  676.            <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>
  677.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2016-11-01T05%3A21%3A01Z&amp;precision=second" title="See timeline at 11/01/2016 05:21:01 AM">8 years</a> ago</span>
  678.        </span>
  679.    <div class="trac-ticket-buttons">
  680.    </div>
  681.  </h3>
  682.  <div class="trac-ticket-buttons"></div>
  683.    <div class="comment searchable">
  684.      <p>
  685. In <a class="changeset" href="/changeset/6107" title="Roles: Modify `bbp_add_forums_roles()` to accept a `WP_Roles` object ...">6107</a>:<br />
  686. </p>
  687. <div class="message"><p>
  688. Roles: Modify <code>bbp_add_forums_roles()</code> to accept a <code>WP_Roles</code> object as a parameter.<br />
  689. </p>
  690. <p>
  691. This allows dynamic roles to be initialized on each call to <code>wp_roles_init</code> (for <a class="wiki" href="/wiki/WordPress">WordPress</a> 4.7) rather than relying on the guesswork of blog-switching, option-sniffing, or user init'ing (none of which have ever been good indicators of roles being initialized.)<br />
  692. </p>
  693. <p>
  694. See: <a class="closed ticket" href="/ticket/2452" title="#2452: defect (bug): Multisite dynamic user roles bug (closed: fixed)">#2452</a>.<br />
  695. </p>
  696. </div>
  697.    </div>
  698.  
  699.              </div>
  700.              <div class="change" id="trac-change-12-1477977819924413">
  701.                
  702.  <h3 class="change">
  703.    <span class="threading">
  704.      <span id="comment:12" class="cnum">
  705.    <a href="#comment:12">#12</a>
  706.  </span>
  707.    </span>
  708.        <span class="avatar">
  709.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  710.            <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>
  711.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2016-11-01T05%3A23%3A39Z&amp;precision=second" title="See timeline at 11/01/2016 05:23:39 AM">8 years</a> ago</span>
  712.        </span>
  713.    <div class="trac-ticket-buttons">
  714.    </div>
  715.  </h3>
  716.  <div class="trac-ticket-buttons"></div>
  717.    <div class="comment searchable">
  718.      <p>
  719. In <a class="changeset" href="/changeset/6108" title="Roles: Improve performance of `bbp_get_dynamic_roles()` with a local ...">6108</a>:<br />
  720. </p>
  721. <div class="message"><p>
  722. Roles: Improve performance of <code>bbp_get_dynamic_roles()</code> with a local static variable.<br />
  723. </p>
  724. <p>
  725. Previously, it rebuilt the multidimensional array of role keys &amp; strings each time it was called, which may be several depending on the page being loaded.<br />
  726. </p>
  727. <p>
  728. See: <a class="closed ticket" href="/ticket/2452" title="#2452: defect (bug): Multisite dynamic user roles bug (closed: fixed)">#2452</a>.<br />
  729. </p>
  730. </div>
  731.    </div>
  732.  
  733.              </div>
  734.              <div class="change" id="trac-change-13-1484165396821229">
  735.                
  736.  <h3 class="change">
  737.    <span class="threading">
  738.      <span id="comment:13" class="cnum">
  739.    <a href="#comment:13">#13</a>
  740.  </span>
  741.    </span>
  742.        <span class="avatar">
  743.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  744.            <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>
  745.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2017-01-11T20%3A09%3A56Z&amp;precision=second" title="See timeline at 01/11/2017 08:09:56 PM">8 years</a> ago</span>
  746.        </span>
  747.    <div class="trac-ticket-buttons">
  748.    </div>
  749.  </h3>
  750.  <div class="trac-ticket-buttons"></div>
  751.  <ul class="changes">
  752.    <li class="trac-field-resolution">
  753.      <strong class="trac-field-resolution">Resolution</strong>
  754.        set to <em>fixed</em>
  755.    </li><li class="trac-field-status">
  756.      <strong class="trac-field-status">Status</strong>
  757.        changed from <em>new</em> to <em>closed</em>
  758.    </li>
  759.  </ul>
  760.    <div class="comment searchable">
  761.      <p>
  762. Closing this, as future versions of bbPress will require <a class="wiki" href="/wiki/WordPress">WordPress</a> 4.7 and above.<br />
  763. </p>
  764.  
  765.    </div>
  766.  
  767.              </div>
  768.          </div>
  769.        </div>
  770.      <div id="help"><strong>Note:</strong> See
  771.        <a href="/wiki/TracTickets">TracTickets</a> for help on using
  772.        tickets.</div>
  773.    </div>
  774.    <div id="altlinks">
  775.    <a class="preferences-link" href="/prefs">Trac UI Preferences</a>
  776.      <h3>Download in other formats:</h3>
  777.      <ul>
  778.        <li class="first">
  779.          <a rel="nofollow" href="/ticket/2452?format=csv" class="csv">Comma-delimited Text</a>
  780.        </li><li>
  781.          <a rel="nofollow" href="/ticket/2452?format=tab" class="tab">Tab-delimited Text</a>
  782.        </li><li class="last">
  783.          <a rel="nofollow" href="/ticket/2452?format=rss" class="rss">RSS Feed</a>
  784.        </li>
  785.      </ul>
  786. </div>
  787.    </div>
  788. <div id="footer">
  789. <div class="links">
  790. <p>
  791. See also:
  792. <a href="http://wordpress.org">WordPress.org</a> •
  793. <a href="http://bbpress.org">bbPress.org</a> •
  794. <a href="http://buddypress.org">BuddyPress.org</a> •
  795. <a href="http://ma.tt">Matt</a> •
  796. <a href="http://bbpress.org/feed/" title="RSS Feed for Articles">Blog RSS</a>
  797. </p>
  798. </div>
  799. <div class="details">
  800. <p>
  801. <a href="http://twitter.com/bbpress" class="twitter">Follow bbPress on Twitter</a> •
  802. <a href="http://bbpress.org/about/gpl/">GPL</a> •
  803. <a href="http://bbpress.org/contact/">Contact Us</a> •
  804. <a href="http://bbpress.org/terms/">Terms of Service</a>
  805. </p>
  806. </div>
  807. </div>
  808. <script>
  809. var wpTracCurrentUser = "anonymous";
  810. </script>
  811. <script src="https://s.w.org/style/js/navigation.min.js?20190128"></script>
  812. <script src="https://s.w.org/style/trac/jquery.caret.min.js?ver=2015-02-01"></script>
  813. <script src="https://s.w.org/style/trac/jquery.atwho.min.js?ver=1.0.1"></script>
  814. <script src="https://s.w.org/style/trac/wp-trac.js?220"></script>
  815. </body>
  816. </html>
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda