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/3434?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.      #3434 (Akismet catches spam for moderator, but moderators are able to bypass spam)
  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/3433" title="Ticket #3433" />
  24.          <link rel="last" href="/ticket/3614" title="Ticket #3614" />
  25.          <link rel="help" href="/wiki/TracGuide" />
  26.          <link rel="alternate" href="/ticket/3434?format=csv" type="text/csv" class="csv" title="Comma-delimited Text" />
  27.          <link rel="alternate" href="/ticket/3434?format=tab" type="text/tab-separated-values" class="tab" title="Tab-delimited Text" />
  28.          <link rel="alternate" href="/ticket/3434?format=rss" type="application/rss+xml" class="rss" title="RSS Feed" />
  29.          <link rel="next" href="/ticket/3435" title="Ticket #3435" />
  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="ba9a650b9a9e3a3e4dc26323";
  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/3434" />
  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%2F3434" 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/3433" title="Ticket #3433">Previous Ticket</a></span></li><li class="last"><span><a class="next" href="/ticket/3435" title="Ticket #3435">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=2021-07-28T05%3A12%3A16Z&amp;precision=second" title="See timeline at 07/28/2021 05:12:16 AM">3 years ago</a></p>
  219.    <p>Last modified <a class="timeline" href="/timeline?from=2024-11-06T06%3A44%3A05Z&amp;precision=second" title="See timeline at 11/06/2024 06:44:05 AM">18 hours ago</a></p>
  220.  </div>
  221.  <h2>
  222.    <a href="/ticket/3434" class="trac-id">#3434</a>
  223.    <span class="trac-status">
  224.      <a href="/query?status=new">new</a>
  225.    </span>
  226.    <span class="trac-type">
  227.      <a href="/query?status=!closed&amp;type=enhancement">enhancement</a>
  228.    </span>
  229.  </h2>
  230.  <h1 id="trac-ticket-title" class="searchable">
  231.    <span class="summary">Akismet catches spam for moderator, but moderators are able to bypass spam</span>
  232.  </h1>
  233.  <table class="properties">
  234.    <tr>
  235.      <th id="h_reporter">Reported by:</th>
  236.      <td headers="h_reporter" class="searchable">
  237.  <a href="https://profiles.wordpress.org/r-a-y" data-nicename="r-a-y">
  238.    <img class="avatar" src="https://wordpress.org/grav-redirect.php?user=r-a-y&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=r-a-y&amp;s=96 2x" height="48" width="48" alt="r-a-y's profile" />
  239.  </a>
  240.    <a class="trac-author" href="/query?status=!closed&amp;reporter=r-a-y">r-a-y</a>
  241. </td>
  242.      <th id="h_owner" class="missing">Owned by:</th>
  243.      <td headers="h_owner">
  244. </td>
  245.    </tr>
  246.    <tr>
  247.        <th id="h_milestone">
  248.          Milestone:
  249.        </th>
  250.        <td headers="h_milestone">
  251.              <a class="milestone" href="/milestone/Awaiting%20Review" title="No date set">Awaiting Review</a>
  252.        </td>
  253.        <th id="h_priority">
  254.          Priority:
  255.        </th>
  256.        <td headers="h_priority">
  257.              <a href="/query?status=!closed&amp;priority=low">low</a>
  258.        </td>
  259.    </tr><tr>
  260.        <th id="h_severity">
  261.          Severity:
  262.        </th>
  263.        <td headers="h_severity">
  264.              <a href="/query?status=!closed&amp;severity=minor">minor</a>
  265.        </td>
  266.        <th id="h_version">
  267.          Version:
  268.        </th>
  269.        <td headers="h_version">
  270.              <a href="/query?status=!closed&amp;version=2.0">2.0</a>
  271.        </td>
  272.    </tr><tr>
  273.        <th id="h_component">
  274.          Component:
  275.        </th>
  276.        <td headers="h_component">
  277.              <a href="/query?status=!closed&amp;component=Extend+-+Akismet">Extend - Akismet</a>
  278.        </td>
  279.        <th id="h_keywords">
  280.          Keywords:
  281.        </th>
  282.        <td headers="h_keywords" class="searchable">
  283.              <a href="/query?status=!closed&amp;keywords=~2nd-opinion">2nd-opinion</a> <a href="/query?status=!closed&amp;keywords=~has-patch">has-patch</a>
  284.        </td>
  285.    </tr><tr>
  286.        <th id="h_cc">
  287.          Cc:
  288.        </th>
  289.        <td headers="h_cc" class="searchable">
  290.              <a href="/query?status=!closed&amp;cc=~SirLouen">SirLouen</a>
  291.        </td>
  292.        <th class="missing">
  293.        </th>
  294.        <td>
  295.        </td>
  296.    </tr>
  297.  </table>
  298.  <div class="description">
  299.    <h3 id="comment:description">
  300.      Description
  301.    </h3>
  302.    <div class="searchable">
  303.      <p>
  304. In the Akismet module, moderators are able to bypass Akismet checks:<br />
  305. <a class="ext-link" href="https://github.com/bbpress/bbPress/blob/09313c9984c55429f3e664ca4383768b68ee34b9/src/includes/extend/akismet.php#L205-L211"><span class="icon">​</span>https://github.com/bbpress/bbPress/blob/09313c9984c55429f3e664ca4383768b68ee34b9/src/includes/extend/akismet.php#L205-L211</a><br />
  306. </p>
  307. <p>
  308. However, if Akismet catches a post written by a moderator as spam, the following is listed in the "Akismet History" metabox with two entries:<br />
  309. </p>
  310. <ul><li>Akismet caught this post as spam.
  311. </li><li>Post status was changed to publish.
  312. </li></ul><p>
  313. See:<br />
  314. <a class="ext-link" href="https://github.com/bbpress/bbPress/blob/09313c9984c55429f3e664ca4383768b68ee34b9/src/includes/extend/akismet.php#L578-L599"><span class="icon">​</span>https://github.com/bbpress/bbPress/blob/09313c9984c55429f3e664ca4383768b68ee34b9/src/includes/extend/akismet.php#L578-L599</a><br />
  315. </p>
  316. <p>
  317. Perhaps changing the second log entry from "Post status was changed to publish" to "Akismet spam check overruled. Post status was published because user is a moderator" would be more clear and appropriate.<br />
  318. </p>
  319.  
  320.    </div>
  321.  </div>
  322. </div>
  323.          
  324.  
  325.        <div>
  326.          <div class="trac-noscript" style="position: relative">
  327.            <form id="prefs" method="get" action="/prefs" style="position: absolute; right: 0">
  328.              <div id="trac-comments-order">
  329.                <input type="radio" id="trac-comments-oldest" name="trac-comments-order" value="oldest" checked="checked" />
  330.                <label for="trac-comments-oldest">Oldest first</label>
  331.                <input type="radio" id="trac-comments-newest" name="trac-comments-order" value="newest" />
  332.                <label for="trac-comments-newest">Newest first</label>
  333.                <span id="trac-threaded-toggle" style="display: none">
  334.                  <input type="radio" id="trac-comments-threaded" name="trac-comments-order" value="threaded" />
  335.                  <label for="trac-comments-threaded">Threaded</label>
  336.                </span>
  337.              </div>
  338.              <div>
  339.                <input id="trac-show-comments-toggle" type="checkbox" checked="checked" />
  340.                <label for="trac-show-comments-toggle">Show comments</label>
  341.                <input id="trac-show-property-changes-toggle" type="checkbox" />
  342.                <label for="trac-show-property-changes-toggle">Show property changes</label>
  343.              </div>
  344.            </form>
  345.          </div>
  346.          <h3 class="foldable">Change History <span class="trac-count">(5)</span></h3>
  347.          <div id="changelog">
  348.              <div class="change" id="trac-change-1-1627449150110450">
  349.                
  350.  <h3 class="change">
  351.    <span class="threading">
  352.      <span id="comment:1" class="cnum">
  353.    <a href="#comment:1">#1</a>
  354.  </span>
  355.    </span>
  356.        <span class="avatar">
  357.          <span class="username-line"><a href="https://profiles.wordpress.org/r-a-y" class="profile-link">
  358.            <img src="https://wordpress.org/grav-redirect.php?user=r-a-y&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=r-a-y&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="r-a-y" data-nicename="r-a-y"><span class="trac-author">r-a-y</span></span></a></span>
  359.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2021-07-28T05%3A12%3A30Z&amp;precision=second" title="See timeline at 07/28/2021 05:12:30 AM">3 years</a> ago</span>
  360.        </span>
  361.    <div class="trac-ticket-buttons">
  362.    </div>
  363.  </h3>
  364.  <div class="trac-ticket-buttons"></div>
  365.  <ul class="changes">
  366.    <li class="trac-field-component">
  367.      <strong class="trac-field-component">Component</strong>
  368.        changed from <em>General</em> to <em>Extend - Akismet</em>
  369.    </li>
  370.  </ul>
  371.  
  372.              </div>
  373.              <div class="change" id="trac-change-2-1730442082965865">
  374.                
  375.  <h3 class="change">
  376.    <span class="threading">
  377.      <span id="comment:2" class="cnum">
  378.    <a href="#comment:2">#2</a>
  379.  </span>
  380.          <span>follow-up:</span>
  381.    <a href="#comment:3" class="follow-up">↓ 3</a>
  382.    </span>
  383.        <span class="avatar">
  384.          <span class="username-line"><a href="https://profiles.wordpress.org/wpclungz1" class="profile-link">
  385.            <img src="https://wordpress.org/grav-redirect.php?user=wpclungz1&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=wpclungz1&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="wpclungz1" data-nicename="wpclungz1"><span class="trac-author">wpclungz1</span></span></a></span>
  386.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2024-11-01T06%3A21%3A22Z&amp;precision=second" title="See timeline at 11/01/2024 06:21:22 AM">6 days</a> ago</span>
  387.        </span>
  388.    <div class="trac-ticket-buttons">
  389.    </div>
  390.  </h3>
  391.  <div class="trac-ticket-buttons"></div>
  392.    <div class="comment searchable">
  393.      <p>
  394. In the Akismet module, moderators are able to bypass Akismet checks:<br />
  395. </p>
  396. <a href="https://www.aiaccount.com"></a> <a href="https://www.3ecpa.com.sg"></a> <a href="https://www.3ecpa.com.my "></a> <a href="https://www.aihrms.com "></a> <a href="https://a-nz1.shop"></a> <a href="https://a-nz2.shop"></a> <a href="https://a-nz3.shop"></a> <a href="https://a-nz4.shop"></a> <a href="https://a-nz5.shop"></a> <a href="https://a-nz6.shop"></a> <a href="https://a-nz7.shop"></a> <a href="https://a-nz8.shop"></a> <a href="https://a-nz9.shop"></a> <a href="https://a-nz10.shop"></a> <a href="https://a-nz11.shop"></a> <a href="https://a-nz12.shop"></a> <a href="https://a-nz13.shop"></a> <a href="https://a-nz14.shop"></a> <a href="https://a-nz15.shop"></a> <a href="https://a-nz16.shop"></a> <a href="https://a-nz17.shop"></a> <a href="https://a-nz18.shop"></a> <a href="https://a-nz19.shop"></a> <a href="https://a-nz20.shop"></a> <a href="https://a-nz21.shop"></a> <a href="https://a-nz22.shop"></a> <a href="https://a-nz23.shop"></a> <a href="https://a-nz24.shop"></a> <a href="https://a-nz25.shop"></a> <a href="https://a-nz26.shop"></a> <a href="https://a-nz27.shop"></a> <a href="https://a-nz28.shop"></a> <a href="https://a-nz29.shop"></a> <a href="https://a-nz30.shop"></a>
  397. <p>
  398. <a class="ext-link" href="https://github.com/bbpress/bbPress/blob/09313c9984c55429f3e664ca4383768b68ee34b9/src/includes/extend/akismet.php#L205-L211"><span class="icon">​</span>https://github.com/bbpress/bbPress/blob/09313c9984c55429f3e664ca4383768b68ee34b9/src/includes/extend/akismet.php#L205-L211</a><br />
  399. </p>
  400. <p>
  401. I got same issue ! Can anyone help me out ?<br />
  402. </p>
  403.  
  404.    </div>
  405.  
  406.              </div>
  407.              <div class="change" id="trac-change-3-1730739754711984">
  408.                
  409.  <h3 class="change">
  410.    <span class="threading">
  411.      <span id="comment:3" class="cnum">
  412.    <a href="#comment:3">#3</a>
  413.  </span>
  414.        in reply to:
  415.    <a href="#comment:2">↑ 2</a>
  416.    </span>
  417.        <span class="avatar">
  418.          <span class="username-line"><a href="https://profiles.wordpress.org/sirlouen" class="profile-link">
  419.            <img src="https://wordpress.org/grav-redirect.php?user=sirlouen&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=sirlouen&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="SirLouen" data-nicename="sirlouen"><span class="trac-author">SirLouen</span></span></a></span>
  420.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2024-11-04T17%3A02%3A34Z&amp;precision=second" title="See timeline at 11/04/2024 05:02:34 PM">2 days</a> ago</span>
  421.        </span>
  422.    <div class="trac-ticket-buttons">
  423.    </div>
  424.  </h3>
  425.  <div class="trac-ticket-buttons"></div>
  426.  <ul class="changes">
  427.    <li class="trac-field-cc">
  428.      <strong class="trac-field-cc">Cc</strong>
  429.        <em>SirLouen</em> added
  430.    </li><li class="trac-field-keywords">
  431.      <strong class="trac-field-keywords">Keywords</strong>
  432.        <em>2nd-opinion</em> added; <em>dev-feedback</em> removed
  433.    </li><li class="trac-field-priority">
  434.      <strong class="trac-field-priority">Priority</strong>
  435.        changed from <em>normal</em> to <em>low</em>
  436.    </li><li class="trac-field-severity">
  437.      <strong class="trac-field-severity">Severity</strong>
  438.        changed from <em>normal</em> to <em>minor</em>
  439.    </li><li class="trac-field-type">
  440.      <strong class="trac-field-type">Type</strong>
  441.        changed from <em>defect (bug)</em> to <em>enhancement</em>
  442.    </li>
  443.  </ul>
  444.    <div class="comment searchable">
  445.      <p>
  446. I think that the post status log does the right thing, it informs of what's exactly happening: Akismet caught the spam and then, the post, automatically was set to publish because of the <code>moderate</code> permission<br />
  447. </p>
  448. <p>
  449. Replying to <a class="ticket" href="/ticket/3434#comment:2" title="Comment 2">wpclungz1</a>:<br />
  450. </p>
  451. <blockquote class="citation">
  452. <p>
  453. I got same issue ! Can anyone help me out ?<br />
  454. </p>
  455. </blockquote>
  456. <p>
  457. Still, anyone can easily extend the functionality of this using any of the hooks if needed, either if you want to inhibit that moderators are not bypassed by this module with the <code>bbp_bypass_spam_enforcement</code> filter hook.<br />
  458. </p>
  459. <p>
  460. After reviewing the akismet class code, personally I think that <code>BBP_Akismet::update_post_meta</code> is missing an action hook for adding functionality, like this issue suggests. <br />
  461. </p>
  462. <p>
  463. I'm submitting a patch with a possible solution also including the possibility to access the method <code>update_post_history</code> and being able to extend functionality and do things like proposed in this post, without having to do a bigger overhaul of the Akismet class.<br />
  464. </p>
  465. <p>
  466. For example, using my proposed hook, one could do what is mentioned in the OP:<br />
  467. </p>
  468. <div class="wiki-code"><div class="code"><pre><span class="cp">&lt;?php</span>
  469. <span class="k">function</span> <span class="nf">moderator_spam_notice</span> <span class="p">(</span> <span class="nv">$post_id</span> <span class="p">)</span> <span class="p">{</span>
  470.  
  471.        <span class="nx">xdebug_break</span><span class="p">();</span>
  472.  
  473.        <span class="k">if</span> <span class="p">(</span> <span class="nb">class_exists</span><span class="p">(</span> <span class="s1">'BBP_Akismet'</span> <span class="p">)</span> <span class="p">)</span> <span class="p">{</span>
  474.                <span class="k">if</span> <span class="p">(</span> <span class="nx">current_user_can</span><span class="p">(</span> <span class="s1">'moderate'</span><span class="p">,</span> <span class="nv">$post_id</span> <span class="p">)</span> <span class="p">)</span> <span class="p">{</span>
  475.                        <span class="nv">$akismet</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">BBP_Akismet</span><span class="p">();</span>
  476.                        <span class="nv">$akismet</span><span class="o">-&gt;</span><span class="na">update_post_history</span> <span class="p">(</span>
  477.                                        <span class="nv">$post_id</span><span class="p">,</span>
  478.                                        <span class="nx">esc_html__</span><span class="p">(</span> <span class="s1">'Akismet spam check overruled. Post status was published because user is a moderator'</span> <span class="p">),</span>
  479.                                        <span class="s1">'moderator-bypass'</span><span class="p">,</span>
  480.                        <span class="p">);</span>
  481.                <span class="p">}</span>
  482.        <span class="p">}</span>
  483. <span class="p">}</span>
  484.  
  485. <span class="nx">add_action</span><span class="p">(</span> <span class="s1">'bbp_akismet_update_post_meta'</span><span class="p">,</span> <span class="s1">'moderator_spam_notice'</span><span class="p">,</span> <span class="mi">10</span><span class="p">,</span> <span class="mi">1</span> <span class="p">);</span>
  486. </pre></div></div><p>
  487. PS: I would also add <code>static</code> to <code>update_post_history</code> because its not a function that need object context to work but for the proposed patch I'm leaving as-is.<br />
  488. </p>
  489.  
  490.    </div>
  491.  
  492.              </div>
  493.              <div class="change" id="trac-change-4-1730739826898734">
  494.                
  495.  <h3 class="change chat-bot prbot with-context">
  496.    <span class="avatar">
  497.      <span class="username-line">
  498.        <img src="https://wordpress.org/grav-redirect.php?user=prbot&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=prbot&amp;s=96 2x" height="48" width="48" alt="" />
  499.        <p>
  500. <em>This ticket was mentioned in <a class="ext-link" href="https://github.com/bbpress/bbPress/pull/25"><span class="icon">​</span>PR #25</a> on <a class="ext-link" href="https://github.com/bbpress/bbPress/"><span class="icon">​</span>bbpress/bbPress</a> by <a class="ext-link" href="https://profiles.wordpress.org/sirlouen/"><span class="icon">​</span>@SirLouen</a>.</em><br />
  501. </p>
  502.      </span>
  503.      <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2024-11-04T17%3A03%3A46Z&amp;precision=second" title="See timeline at 11/04/2024 05:03:46 PM">2 days</a> ago</span>
  504.    </span>
  505.    <span class="threading">
  506.      <span id="comment:4" class="cnum">
  507.    <a href="#comment:4">#4</a>
  508.  </span>
  509.    </span>
  510.    <div class="trac-ticket-buttons">
  511.    </div>
  512.  </h3>
  513.  <ul class="changes">
  514.    <li class="trac-field-keywords">
  515.      <strong class="trac-field-keywords">Keywords</strong>
  516.        <em>has-patch</em> added
  517.    </li>
  518.  </ul>
  519.  <div class="comment searchable">
  520.    <p>
  521. Trac Issue:<br />
  522. <a class="ext-link" href="https://bbpress.trac.wordpress.org/ticket/3434"><span class="icon">​</span>https://bbpress.trac.wordpress.org/ticket/3434</a><br />
  523. </p>
  524.  
  525.  </div>
  526.  
  527.              </div>
  528.              <div class="change" id="trac-change-5-1730875445990764">
  529.                
  530.  <h3 class="change">
  531.    <span class="threading">
  532.      <span id="comment:5" class="cnum">
  533.    <a href="#comment:5">#5</a>
  534.  </span>
  535.    </span>
  536.        <span class="avatar">
  537.          <span class="username-line"><a href="https://profiles.wordpress.org/bexzswjtev" class="profile-link">
  538.            <img src="https://wordpress.org/grav-redirect.php?user=bexzswjtev&amp;s=48" srcset="https://wordpress.org/grav-redirect.php?user=bexzswjtev&amp;s=96 2x" height="48" width="48" alt="" /> @<span class="username" data-username="bexzswjtev" data-nicename="bexzswjtev"><span class="trac-author">bexzswjtev</span></span></a></span>
  539.            <br /><span class="time-ago"><a class="timeline" href="/timeline?from=2024-11-06T06%3A44%3A05Z&amp;precision=second" title="See timeline at 11/06/2024 06:44:05 AM">18 hours</a> ago</span>
  540.        </span>
  541.    <div class="trac-ticket-buttons">
  542.    </div>
  543.  </h3>
  544.  <div class="trac-ticket-buttons"></div>
  545.    <div class="comment searchable">
  546.      <p>
  547. In the Akismet module, moderators are able to bypass Akismet checks:<br />
  548. </p>
  549. <a href="https://a-nz31.shop"></a>
  550. <a href="https://a-nz32.shop"></a>
  551. <a href="https://a-nz33.shop"></a>
  552. <a href="https://a-nz34.shop"></a>
  553. <a href="https://a-nz35.shop"></a>
  554. <a href="https://a-nz36.shop"></a>
  555. <a href="https://a-nz37.shop"></a>
  556. <a href="https://a-nz38.shop"></a>
  557. <a href="https://a-nz39.shop"></a>
  558. <a href="https://a-nz40.shop"></a>
  559. <a href="https://a-nz41.shop"></a>
  560. <a href="https://a-nz42.shop"></a>
  561. <a href="https://a-nz43.shop"></a>
  562. <a href="https://a-nz44.shop"></a>
  563. <a href="https://a-nz45.shop"></a>
  564. <a href="https://a-nz46.shop"></a>
  565. <a href="https://a-nz47.shop"></a>
  566. <a href="https://a-nz48.shop"></a>
  567. <a href="https://a-nz49.shop"></a>
  568. <a href="https://a-nz50.shop"></a>
  569. <a href="https://blet.shop/"></a>
  570. <a href="https://byjua.shop/"></a>
  571. <a href="https://clisr.shop/"></a>
  572. <a href="https://cloew.shop/"></a>
  573. <a href="http://clund.shop/"></a>
  574. <a href="https://hizes.shop/"></a>
  575. <a href="https://letys.shop/"></a>
  576. <a href="http://qoot.shop/"></a>
  577. <a href="http://ritna.shop/"></a>
  578. <a href="http://ritnr.shop/"></a>
  579. <a href="http://romays.shop/"></a>
  580. <a href="http://santry.shop/"></a>
  581. <a href="http://semis.shop/"></a>
  582. <a href="http://senjax.shop/"></a>
  583. <a href="http://spalr.shop/"></a>
  584. <a href="http://trlyts.shop/"></a>
  585. <a href="http://verter.shop/"></a>
  586. <a href="http://wengts.shop/"></a>
  587. <a href="http://wesjr.shop/"></a>
  588. <a href="https://xosq.shop/"></a>
  589. <p>
  590. <a class="ext-link" href="https://github.com/bbpress/bbPress/blob/09313c9984c55429f3e664ca4383768b68ee34b9/src/includes/extend/akismet.php#L205-L211"><span class="icon">​</span>https://github.com/bbpress/bbPress/blob/09313c9984c55429f3e664ca4383768b68ee34b9/src/includes/extend/akismet.php#L205-L211</a><br />
  591. </p>
  592. <p>
  593. Thanks alot for solving this !! Much Appreciated ! <br />
  594. </p>
  595.  
  596.    </div>
  597.  
  598.              </div>
  599.          </div>
  600.        </div>
  601.      <div id="help"><strong>Note:</strong> See
  602.        <a href="/wiki/TracTickets">TracTickets</a> for help on using
  603.        tickets.</div>
  604.    </div>
  605.    <script type="text/javascript">
  606.        jQuery.loadStyleSheet("/pygments/trac.css", "text/css");
  607.    </script>
  608.    <div id="altlinks">
  609.    <a class="preferences-link" href="/prefs">Trac UI Preferences</a>
  610.      <h3>Download in other formats:</h3>
  611.      <ul>
  612.        <li class="first">
  613.          <a rel="nofollow" href="/ticket/3434?format=csv" class="csv">Comma-delimited Text</a>
  614.        </li><li>
  615.          <a rel="nofollow" href="/ticket/3434?format=tab" class="tab">Tab-delimited Text</a>
  616.        </li><li class="last">
  617.          <a rel="nofollow" href="/ticket/3434?format=rss" class="rss">RSS Feed</a>
  618.        </li>
  619.      </ul>
  620. </div>
  621.    </div>
  622. <div id="footer">
  623. <div class="links">
  624. <p>
  625. See also:
  626. <a href="http://wordpress.org">WordPress.org</a> •
  627. <a href="http://bbpress.org">bbPress.org</a> •
  628. <a href="http://buddypress.org">BuddyPress.org</a> •
  629. <a href="http://ma.tt">Matt</a> •
  630. <a href="http://bbpress.org/feed/" title="RSS Feed for Articles">Blog RSS</a>
  631. </p>
  632. </div>
  633. <div class="details">
  634. <p>
  635. <a href="http://twitter.com/bbpress" class="twitter">Follow bbPress on Twitter</a> •
  636. <a href="http://bbpress.org/about/gpl/">GPL</a> •
  637. <a href="http://bbpress.org/contact/">Contact Us</a> •
  638. <a href="http://bbpress.org/terms/">Terms of Service</a>
  639. </p>
  640. </div>
  641. </div>
  642. <script>
  643. var wpTracCurrentUser = "anonymous";
  644. </script>
  645. <script src="https://s.w.org/style/js/navigation.min.js?20190128"></script>
  646. <script src="https://s.w.org/style/trac/jquery.caret.min.js?ver=2015-02-01"></script>
  647. <script src="https://s.w.org/style/trac/jquery.atwho.min.js?ver=1.0.1"></script>
  648. <script src="https://s.w.org/style/trac/wp-trac.js?220"></script>
  649. </body>
  650. </html>
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda