Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/04/2012 02:11:16 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Capabilities:

  • Remove advanced capabilities code, template part, and UI helpers.
  • This has been replaced by the forums roles selection.
  • See #1939.
File:
1 edited

Legend:

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

    r4249 r4330  
    2626        'delete_posts'        => 'delete_replies',
    2727        'delete_others_posts' => 'delete_others_replies'
    28     ) );
    29 }
    30 
    31 /**
    32  * Get the reply post-type capabilities
    33  *
    34  * @since bbPress (r4163)
    35  *
    36  * @return array of replies capabilities
    37  */
    38 function bbp_get_replies_capabilities() {
    39     return apply_filters( 'bbp_get_replies_capabilities', array(
    40         'publish_replies',
    41         'edit_replies',
    42         'edit_others_replies',
    43         'delete_replies',
    44         'delete_others_replies',
    45         'read_private_replies'
    4628    ) );
    4729}
Note: See TracChangeset for help on using the changeset viewer.