Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/25/2016 01:23:29 AM (8 years ago)
Author:
johnjamesjacoby
Message:

Moderators: pass current forum/topic/reply ID into moderate capability checks, providing additional context about what's being moderated so more targeted decisions can be made.

See #459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/users/template.php

    r5951 r6032  
    553553     */
    554554    function bbp_get_admin_link( $args = array() ) {
     555
     556        // Bail if user cannot globally moderate
    555557        if ( ! current_user_can( 'moderate' ) ) {
    556558            return;
Note: See TracChangeset for help on using the changeset viewer.