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

Source: http://blet.shop/ticket/2354?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.      #2354 (Add filter for dropdown arguments in bbp_get_dropdown)
  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/2353" title="Ticket #2353" />
  24.          <link rel="last" href="/ticket/3609" title="Ticket #3609" />
  25.          <link rel="help" href="/wiki/TracGuide" />
  26.          <link rel="alternate" href="/ticket/2354?format=csv" type="text/csv" class="csv" title="Comma-delimited Text" />
  27.          <link rel="alternate" href="/ticket/2354?format=tab" type="text/tab-separated-values" class="tab" title="Tab-delimited Text" />
  28.          <link rel="alternate" href="/ticket/2354?format=rss" type="application/rss+xml" class="rss" title="RSS Feed" />
  29.          <link rel="next" href="/ticket/2355" title="Ticket #2355" />
  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="1d17c8679e8ca5dfd5e8c085";
  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/2354" />
  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%2F2354" 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/2353" title="Ticket #2353">Previous Ticket</a></span></li><li class="last"><span><a class="next" href="/ticket/2355" title="Ticket #2355">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-06-16T23%3A46%3A54Z&amp;precision=second" title="See timeline at 06/16/2013 11:46:54 PM">11 years ago</a></p>
  219.    <p>Closed <a class="timeline" href="/timeline?from=2013-07-10T04%3A29%3A09Z&amp;precision=second" title="See timeline at 07/10/2013 04:29:09 AM">11 years ago</a></p>
  220.  </div>
  221.  <h2>
  222.    <a href="/ticket/2354" class="trac-id">#2354</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=enhancement">enhancement</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">Add filter for dropdown arguments in bbp_get_dropdown</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/nofearinc" data-nicename="nofearinc">
  241.    <img class="avatar" src="https://wordpress.org/grav-redirect.php?user=nofearinc&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=nofearinc&amp;s=96 2x" height="48" width="48" alt="nofearinc's profile" />
  242.  </a>
  243.    <a class="trac-author" href="/query?status=!closed&amp;reporter=nofearinc">nofearinc</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.4" title="Completed 11 years ago (08/24/2013 02:38:47 PM)">2.4</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.1">2.1</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=Tools+-+Code+Improvements">Tools - Code Improvements</a>
  285.        </td>
  286.        <th id="h_keywords" class="missing">
  287.          Keywords:
  288.        </th>
  289.        <td headers="h_keywords" class="searchable">
  290.        </td>
  291.    </tr><tr>
  292.        <th id="h_cc" class="missing">
  293.          Cc:
  294.        </th>
  295.        <td headers="h_cc" class="searchable">
  296.        </td>
  297.        <th class="missing">
  298.        </th>
  299.        <td>
  300.        </td>
  301.    </tr>
  302.  </table>
  303.  <div class="description">
  304.    <h3 id="comment:description">
  305.      Description
  306.    </h3>
  307.    <div class="searchable">
  308.      <p>
  309. <code>bbp_get_dropdown</code> in includes/common/template-tags.php is fetching entries with <code>get_posts</code> based on input arguments for all bbPress dropdown filters. The arguments passed to get_posts could not be filtered from plugins.<br />
  310. </p>
  311. <p>
  312. I would suggest adding a filter to the <code>get_posts</code> arguments array for external manipulation for dropdowns. <br />
  313. </p>
  314.  
  315.    </div>
  316.  </div>
  317. </div>
  318.          
  319.    <div id="attachments">
  320.        <h3 class="foldable">Attachments <span class="trac-count">(1)</span></h3>
  321.        <div class="attachments">
  322.          <dl class="attachments">
  323.              <dt>
  324.    <a href="/attachment/ticket/2354/template-tags-filter.diff" title="View attachment">template-tags-filter.diff</a><a href="/raw-attachment/ticket/2354/template-tags-filter.diff" class="trac-rawlink" title="Download">​</a> (<span title="438 bytes">438 bytes</span>) - added by <span class="trac-author">nofearinc</span> <a class="timeline" href="/timeline?from=2013-06-16T23%3A48%3A33Z&amp;precision=second" title="See timeline at 06/16/2013 11:48:33 PM">11 years ago</a>.
  325.  </dt>
  326.              <dd>
  327.                includes/common/template-tags.php filter added for get_posts args
  328.              </dd>
  329.          </dl>
  330.          <p>
  331.            Download all attachments as: <a rel="nofollow" href="/zip-attachment/ticket/2354/">.zip</a>
  332.          </p>
  333.          
  334.        </div>
  335.    </div>
  336.  
  337.        <div>
  338.          <div class="trac-noscript" style="position: relative">
  339.            <form id="prefs" method="get" action="/prefs" style="position: absolute; right: 0">
  340.              <div id="trac-comments-order">
  341.                <input type="radio" id="trac-comments-oldest" name="trac-comments-order" value="oldest" checked="checked" />
  342.                <label for="trac-comments-oldest">Oldest first</label>
  343.                <input type="radio" id="trac-comments-newest" name="trac-comments-order" value="newest" />
  344.                <label for="trac-comments-newest">Newest first</label>
  345.                <span id="trac-threaded-toggle" style="display: none">
  346.                  <input type="radio" id="trac-comments-threaded" name="trac-comments-order" value="threaded" />
  347.                  <label for="trac-comments-threaded">Threaded</label>
  348.                </span>
  349.              </div>
  350.              <div>
  351.                <input id="trac-show-comments-toggle" type="checkbox" checked="checked" />
  352.                <label for="trac-show-comments-toggle">Show comments</label>
  353.                <input id="trac-show-property-changes-toggle" type="checkbox" />
  354.                <label for="trac-show-property-changes-toggle">Show property changes</label>
  355.              </div>
  356.            </form>
  357.          </div>
  358.          <h3 class="foldable">Change History <span class="trac-count">(8)</span></h3>
  359.          <div id="changelog">
  360.              <div class="change">
  361.                
  362.  <h3 class="change">
  363.    <span class="threading">
  364.    </span>
  365.        <span class="avatar">
  366.          <span class="username-line"><a href="https://profiles.wordpress.org/nofearinc" class="profile-link">
  367.            <img src="https://wordpress.org/grav-redirect.php?user=nofearinc&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=nofearinc&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="nofearinc" data-nicename="nofearinc"><span class="trac-author">nofearinc</span></span></a></span>
  368.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-06-16T23%3A48%3A33Z&amp;precision=second" title="See timeline at 06/16/2013 11:48:33 PM">11 years</a> ago</span>
  369.        </span>
  370.    <div class="trac-ticket-buttons">
  371.    </div>
  372.  </h3>
  373.  <div class="trac-ticket-buttons"></div>
  374.  <ul class="changes">
  375.    <li class="trac-field-attachment">
  376.      <strong class="trac-field-attachment">Attachment</strong>
  377.        <a href="/attachment/ticket/2354/template-tags-filter.diff"><em>template-tags-filter.diff</em></a><a href="/raw-attachment/ticket/2354/template-tags-filter.diff" title="Download" class="trac-rawlink">​</a>
  378.          added
  379.    </li>
  380.  </ul>
  381.    <div class="comment searchable">
  382.      <p>
  383. includes/common/template-tags.php filter added for get_posts args<br />
  384. </p>
  385.  
  386.    </div>
  387.  
  388.              </div>
  389.              <div class="change" id="trac-change-1-1371834732514929">
  390.                
  391.  <h3 class="change">
  392.    <span class="threading">
  393.      <span id="comment:1" class="cnum">
  394.    <a href="#comment:1">#1</a>
  395.  </span>
  396.    </span>
  397.        <span class="avatar">
  398.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  399.            <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>
  400.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-06-21T17%3A12%3A12Z&amp;precision=second" title="See timeline at 06/21/2013 05:12:12 PM">11 years</a> ago</span>
  401.        </span>
  402.    <div class="trac-ticket-buttons">
  403.    </div>
  404.  </h3>
  405.  <div class="trac-ticket-buttons"></div>
  406.    <div class="comment searchable">
  407.      <p>
  408. Is this something you can solve using the passive and aggressive filters in bbp_parse_args()<br />
  409. </p>
  410. <ul><li>bbp_before_get_dropdown_parse_args
  411. </li><li>bbp_after_get_dropdown_parse_args
  412. </li></ul>
  413.    </div>
  414.  
  415.              </div>
  416.              <div class="change" id="trac-change-2-1371848425786679">
  417.                
  418.  <h3 class="change">
  419.    <span class="threading">
  420.      <span id="comment:2" class="cnum">
  421.    <a href="#comment:2">#2</a>
  422.  </span>
  423.    </span>
  424.        <span class="avatar">
  425.          <span class="username-line"><a href="https://profiles.wordpress.org/nofearinc" class="profile-link">
  426.            <img src="https://wordpress.org/grav-redirect.php?user=nofearinc&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=nofearinc&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="nofearinc" data-nicename="nofearinc"><span class="trac-author">nofearinc</span></span></a></span>
  427.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-06-21T21%3A00%3A25Z&amp;precision=second" title="See timeline at 06/21/2013 09:00:25 PM">11 years</a> ago</span>
  428.        </span>
  429.    <div class="trac-ticket-buttons">
  430.    </div>
  431.  </h3>
  432.  <div class="trac-ticket-buttons"></div>
  433.  <ul class="changes">
  434.    <li class="trac-field-keywords">
  435.      <strong class="trac-field-keywords">Keywords</strong>
  436.        <em>close</em> added; <em>has-patch</em> removed
  437.    </li><li class="trac-field-resolution">
  438.      <strong class="trac-field-resolution">Resolution</strong>
  439.        set to <em>invalid</em>
  440.    </li><li class="trac-field-status">
  441.      <strong class="trac-field-status">Status</strong>
  442.        changed from <em>new</em> to <em>closed</em>
  443.    </li>
  444.  </ul>
  445.    <div class="comment searchable">
  446.      <p>
  447. Yes, <code>bbp_after_get_dropdown_parse_args</code> would do the work here, thanks<br />
  448. </p>
  449.  
  450.    </div>
  451.  
  452.              </div>
  453.              <div class="change" id="trac-change-3-1371913317119043">
  454.                
  455.  <h3 class="change">
  456.    <span class="threading">
  457.      <span id="comment:3" class="cnum">
  458.    <a href="#comment:3">#3</a>
  459.  </span>
  460.    </span>
  461.        <span class="avatar">
  462.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  463.            <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>
  464.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-06-22T15%3A01%3A57Z&amp;precision=second" title="See timeline at 06/22/2013 03:01:57 PM">11 years</a> ago</span>
  465.        </span>
  466.    <div class="trac-ticket-buttons">
  467.    </div>
  468.  </h3>
  469.  <div class="trac-ticket-buttons"></div>
  470.  <ul class="changes">
  471.    <li class="trac-field-milestone">
  472.      <strong class="trac-field-milestone">Milestone</strong>
  473.        <em>Awaiting Review</em> deleted
  474.    </li>
  475.  </ul>
  476.  
  477.              </div>
  478.              <div class="change" id="trac-change-4-1372422565345924">
  479.                
  480.  <h3 class="change">
  481.    <span class="threading">
  482.      <span id="comment:4" class="cnum">
  483.    <a href="#comment:4">#4</a>
  484.  </span>
  485.    </span>
  486.        <span class="avatar">
  487.          <span class="username-line"><a href="https://profiles.wordpress.org/nofearinc" class="profile-link">
  488.            <img src="https://wordpress.org/grav-redirect.php?user=nofearinc&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=nofearinc&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="nofearinc" data-nicename="nofearinc"><span class="trac-author">nofearinc</span></span></a></span>
  489.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-06-28T12%3A29%3A25Z&amp;precision=second" title="See timeline at 06/28/2013 12:29:25 PM">11 years</a> ago</span>
  490.        </span>
  491.    <div class="trac-ticket-buttons">
  492.    </div>
  493.  </h3>
  494.  <div class="trac-ticket-buttons"></div>
  495.  <ul class="changes">
  496.    <li class="trac-field-keywords">
  497.      <strong class="trac-field-keywords">Keywords</strong>
  498.        <em>close</em> removed
  499.    </li><li class="trac-field-resolution">
  500.      <strong class="trac-field-resolution">Resolution</strong>
  501.        <em>invalid</em> deleted
  502.    </li><li class="trac-field-status">
  503.      <strong class="trac-field-status">Status</strong>
  504.        changed from <em>closed</em> to <em>reopened</em>
  505.    </li>
  506.  </ul>
  507.    <div class="comment searchable">
  508.      <p>
  509. I'm reopening this ticket as the <code>post_status</code> is set after the filter in question. <br />
  510. </p>
  511. <p>
  512. This snippet could be found after those filters, before get_posts in <code>template-tags.php</code>:<br />
  513. </p>
  514. <pre class="wiki"> // Define local variable(s)
  515. $post_stati = array();
  516.  
  517. // Public
  518. $post_stati[] = bbp_get_public_status_id();
  519.  
  520. </pre><p>
  521. Therefore I cannot modify the post status. <br />
  522. </p>
  523.  
  524.    </div>
  525.  
  526.              </div>
  527.              <div class="change" id="trac-change-5-1372422711640553">
  528.                
  529.  <h3 class="change">
  530.    <span class="threading">
  531.      <span id="comment:5" class="cnum">
  532.    <a href="#comment:5">#5</a>
  533.  </span>
  534.    </span>
  535.        <span class="avatar">
  536.          <span class="username-line"><a href="https://profiles.wordpress.org/nofearinc" class="profile-link">
  537.            <img src="https://wordpress.org/grav-redirect.php?user=nofearinc&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=nofearinc&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="nofearinc" data-nicename="nofearinc"><span class="trac-author">nofearinc</span></span></a></span>
  538.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-06-28T12%3A31%3A51Z&amp;precision=second" title="See timeline at 06/28/2013 12:31:51 PM">11 years</a> ago</span>
  539.        </span>
  540.    <div class="trac-ticket-buttons">
  541.    </div>
  542.  </h3>
  543.  <div class="trac-ticket-buttons"></div>
  544.  <ul class="changes">
  545.    <li class="trac-field-milestone">
  546.      <strong class="trac-field-milestone">Milestone</strong>
  547.        set to <em>Awaiting Review</em>
  548.    </li>
  549.  </ul>
  550.  
  551.              </div>
  552.              <div class="change" id="trac-change-6-1373430317408316">
  553.                
  554.  <h3 class="change">
  555.    <span class="threading">
  556.      <span id="comment:6" class="cnum">
  557.    <a href="#comment:6">#6</a>
  558.  </span>
  559.    </span>
  560.        <span class="avatar">
  561.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  562.            <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>
  563.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-07-10T04%3A25%3A17Z&amp;precision=second" title="See timeline at 07/10/2013 04:25:17 AM">11 years</a> ago</span>
  564.        </span>
  565.    <div class="trac-ticket-buttons">
  566.    </div>
  567.  </h3>
  568.  <div class="trac-ticket-buttons"></div>
  569.  <ul class="changes">
  570.    <li class="trac-field-component">
  571.      <strong class="trac-field-component">Component</strong>
  572.        changed from <em>Actions/Filters</em> to <em>Code Improvement</em>
  573.    </li><li class="trac-field-milestone">
  574.      <strong class="trac-field-milestone">Milestone</strong>
  575.        changed from <em>Awaiting Review</em> to <em>2.4</em>
  576.    </li>
  577.  </ul>
  578.  
  579.              </div>
  580.              <div class="change" id="trac-change-7-1373430549863042">
  581.                
  582.  <h3 class="change">
  583.    <span class="threading">
  584.      <span id="comment:7" class="cnum">
  585.    <a href="#comment:7">#7</a>
  586.  </span>
  587.    </span>
  588.        <span class="avatar">
  589.          <span class="username-line"><a href="https://profiles.wordpress.org/johnjamesjacoby" class="profile-link">
  590.            <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>
  591.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2013-07-10T04%3A29%3A09Z&amp;precision=second" title="See timeline at 07/10/2013 04:29:09 AM">11 years</a> ago</span>
  592.        </span>
  593.    <div class="trac-ticket-buttons">
  594.    </div>
  595.  </h3>
  596.  <div class="trac-ticket-buttons"></div>
  597.  <ul class="changes">
  598.    <li class="trac-field-owner">
  599.      <strong class="trac-field-owner">Owner</strong>
  600.        set to <em>johnjamesjacoby</em>
  601.    </li><li class="trac-field-resolution">
  602.      <strong class="trac-field-resolution">Resolution</strong>
  603.        set to <em>fixed</em>
  604.    </li><li class="trac-field-status">
  605.      <strong class="trac-field-status">Status</strong>
  606.        changed from <em>reopened</em> to <em>closed</em>
  607.    </li>
  608.  </ul>
  609.    <div class="comment searchable">
  610.      <p>
  611. In <a class="changeset" href="/changeset/5010" title="In bbp_get_dropdown(), remove the hard-coded post_status checker, and ...">5010</a>:<br />
  612. </p>
  613. <div class="message"><p>
  614. In bbp_get_dropdown(), remove the hard-coded post_status checker, and trust bbp_pre_get_posts_normalize_forum_visibility() to do its job. We still pass 'post_status' as null, so that get_posts() gets passed the results of bbp_parse_args(). Also, remove 'sort_column' array key from when this used get_pages(), and rely on 'orderby' for get_posts() instead.<br />
  615. </p>
  616. <p>
  617. In bbp_pre_get_posts_normalize_forum_visibility(), remove empties and duplicates from the $post_stati array.<br />
  618. </p>
  619. <p>
  620. Fixes <a class="closed ticket" href="/ticket/2354" title="#2354: enhancement: Add filter for dropdown arguments in bbp_get_dropdown (closed: fixed)">#2354</a>.<br />
  621. </p>
  622. </div>
  623.    </div>
  624.  
  625.              </div>
  626.          </div>
  627.        </div>
  628.      <div id="help"><strong>Note:</strong> See
  629.        <a href="/wiki/TracTickets">TracTickets</a> for help on using
  630.        tickets.</div>
  631.    </div>
  632.    <div id="altlinks">
  633.    <a class="preferences-link" href="/prefs">Trac UI Preferences</a>
  634.      <h3>Download in other formats:</h3>
  635.      <ul>
  636.        <li class="first">
  637.          <a rel="nofollow" href="/ticket/2354?format=csv" class="csv">Comma-delimited Text</a>
  638.        </li><li>
  639.          <a rel="nofollow" href="/ticket/2354?format=tab" class="tab">Tab-delimited Text</a>
  640.        </li><li class="last">
  641.          <a rel="nofollow" href="/ticket/2354?format=rss" class="rss">RSS Feed</a>
  642.        </li>
  643.      </ul>
  644. </div>
  645.    </div>
  646. <div id="footer">
  647. <div class="links">
  648. <p>
  649. See also:
  650. <a href="http://wordpress.org">WordPress.org</a> •
  651. <a href="http://bbpress.org">bbPress.org</a> •
  652. <a href="http://buddypress.org">BuddyPress.org</a> •
  653. <a href="http://ma.tt">Matt</a> •
  654. <a href="http://bbpress.org/feed/" title="RSS Feed for Articles">Blog RSS</a>
  655. </p>
  656. </div>
  657. <div class="details">
  658. <p>
  659. <a href="http://twitter.com/bbpress" class="twitter">Follow bbPress on Twitter</a> •
  660. <a href="http://bbpress.org/about/gpl/">GPL</a> •
  661. <a href="http://bbpress.org/contact/">Contact Us</a> •
  662. <a href="http://bbpress.org/terms/">Terms of Service</a>
  663. </p>
  664. </div>
  665. </div>
  666. <script>
  667. var wpTracCurrentUser = "anonymous";
  668. </script>
  669. <script src="https://s.w.org/style/js/navigation.min.js?20190128"></script>
  670. <script src="https://s.w.org/style/trac/jquery.caret.min.js?ver=2015-02-01"></script>
  671. <script src="https://s.w.org/style/trac/jquery.atwho.min.js?ver=1.0.1"></script>
  672. <script src="https://s.w.org/style/trac/wp-trac.js?220"></script>
  673. </body>
  674. </html>
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda