Skip to:
Content

bbPress.org

Changes between Initial Version and Version 1 of Ticket #3473, comment 3


Ignore:
Timestamp:
07/26/2022 09:24:14 AM (2 years ago)
Author:
Robin W
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3473, comment 3

    initial v1  
    33the issue is in \bbpress\includes\search\template.php line 49 onwards
    44
    5 mods and above get permissions to see all from line 50  which sets a list of $default['post_status']
     5mods and above get permissions to see all from line 50  which sets a list of {{{#!php
     6<?php
     7$default['post_status']
     8}}}
    69
    7 participants/spectators get $default['perm'] = 'readable' set instead of $default['post_status']. 
     10
     11participants/spectators get {{{#!php
     12<?php
     13$default['perm'] = 'readable'
     14}}}
     15 set instead of {{{#!php
     16<?php
     17$default['post_status'].
     18}}}
     19 
    820'perm' is a wordpress wp_query setting, and wordpress does not have 'hidden' status, so allows hidden forums to show, nit sure why, but it does !
    921