Skip to:
Content

bbPress.org

Changeset 4799 for trunk/bbpress.php


Ignore:
Timestamp:
03/14/2013 10:26:50 AM (9 years ago)
Author:
johnjamesjacoby
Message:

Remove unnecessary capability check for post-status trash fix. Props alex-ye. Fixes #2255.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bbpress.php

    r4764 r4799  
    735735
    736736            // User cannot view trash so set internal to true
    737             } elseif ( !current_user_can( 'view_trash' ) ) {
     737            } else {
    738738                $wp_post_statuses['trash']->internal = true;
    739739            }
Note: See TracChangeset for help on using the changeset viewer.