Skip to:
Content

bbPress.org

Changeset 4353


Ignore:
Timestamp:
11/07/2012 08:57:22 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Capabilities:

  • Update inline doc for 'spectate' VS 'participate'.
  • See #1939.
Location:
trunk/includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/forums/capabilities.php

    r4349 r4353  
    6363        case 'read_forum' :
    6464
    65             // User cannot participate
     65            // User cannot spectate
    6666            if ( ! user_can( $user_id, 'spectate' ) ) {
    6767                $caps = array( 'do_not_allow' );
  • trunk/includes/replies/capabilities.php

    r4349 r4353  
    5252        case 'read_reply' :
    5353
    54             // User cannot participate
     54            // User cannot spectate
    5555            if ( ! user_can( $user_id, 'spectate' ) ) {
    5656                $caps = array( 'do_not_allow' );
  • trunk/includes/topics/capabilities.php

    r4349 r4353  
    7070        case 'read_topic' :
    7171
    72             // User cannot participate
     72            // User cannot spectate
    7373            if ( ! user_can( $user_id, 'spectate' ) ) {
    7474                $caps = array( 'do_not_allow' );
Note: See TracChangeset for help on using the changeset viewer.