Skip to:
Content

bbPress.org

Changeset 6566


Ignore:
Timestamp:
06/16/2017 05:31:39 PM (8 years ago)
Author:
johnjamesjacoby
Message:

Adimn: Fix some formatting in PHPDoc blocks.

Location:
trunk/src/includes/admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/admin.php

    r6564 r6566  
    694694     *
    695695     * @param string $capability
    696      * @return string Return 'keep_gate' capability
     696     * @return string Return minimum capability
    697697     */
    698698    public function option_page_capability_bbpress( $capability = 'manage_options' ) {
  • trunk/src/includes/admin/replies.php

    r6438 r6566  
    260260     */
    261261    public function bulk_post_updated_messages( $bulk_messages, $bulk_counts ) {
    262 
    263         $bulk_messages['reply']['updated'] = _n( '%s reply updated.', '%s replies updated.', $bulk_counts['updated'], 'bbpress' );
    264         $bulk_messages['reply']['locked']  = ( 1 === $bulk_counts['locked'] ) ? __( '1 reply not updated, somebody is editing it.', 'bbpress' ) :
    265                                                   _n( '%s reply not updated, somebody is editing it.', '%s replies not updated, somebody is editing them.', $bulk_counts['locked'], 'bbpress' );
     262        $bulk_messages['reply']['updated'] = _n( '%s reply updated.', '%s replies updated.', $bulk_counts['updated'], 'bbpress');
     263        $bulk_messages['reply']['locked']  = ( 1 === $bulk_counts['locked'] )
     264            ? __( '1 reply not updated, somebody is editing it.', 'bbpress' )
     265            : _n( '%s reply not updated, somebody is editing it.', '%s replies not updated, somebody is editing them.', $bulk_counts['locked'], 'bbpress' );
     266
    266267        return $bulk_messages;
    267268    }
  • trunk/src/includes/admin/topics.php

    r6438 r6566  
    265265     */
    266266    public function bulk_post_updated_messages( $bulk_messages, $bulk_counts ) {
    267 
    268         $bulk_messages['topic']['updated'] = _n( '%s topic updated.', '%s topics updated.', $bulk_counts['updated'], 'bbpress'  );
    269         $bulk_messages['topic']['locked']  = ( 1 === $bulk_counts['locked'] ) ? __( '1 topic not updated, somebody is editing it.', 'bbpress'  ) :
    270                                                   _n( '%s topic not updated, somebody is editing it.', '%s topics not updated, somebody is editing them.', $bulk_counts['locked'], 'bbpress'  );
     267        $bulk_messages['topic']['updated'] = _n( '%s topic updated.', '%s topics updated.', $bulk_counts['updated'], 'bbpress' );
     268        $bulk_messages['topic']['locked']  = ( 1 === $bulk_counts['locked'] )
     269            ? __( '1 topic not updated, somebody is editing it.', 'bbpress' )
     270            : _n( '%s topic not updated, somebody is editing it.', '%s topics not updated, somebody is editing them.', $bulk_counts['locked'], 'bbpress' );
     271
    271272        return $bulk_messages;
    272273    }
Note: See TracChangeset for help on using the changeset viewer.