Skip to:
Content

bbPress.org

Changeset 3861


Ignore:
Timestamp:
05/01/2012 10:15:01 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Default show_role to false, and override to true when needed, for backwards compatibility. See #1815.

Location:
branches/plugin
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-reply-template.php

    r3860 r3861  
    965965            'size'       => 80,
    966966            'sep'        => ' ',
    967             'show_role'  => true
     967            'show_role'  => false
    968968        );
    969969        $r = bbp_parse_args( $args, $defaults, 'get_reply_author_link' );
  • branches/plugin/bbp-includes/bbp-topic-template.php

    r3860 r3861  
    12311231            'size'       => 80,
    12321232            'sep'        => ' ',
    1233             'show_role'  => true
     1233            'show_role'  => false
    12341234        );
    12351235        $r = bbp_parse_args( $args, $defaults, 'get_topic_author_link' );
  • branches/plugin/bbp-theme-compat/bbpress/content-single-topic-lead.php

    r3734 r3861  
    5656                <?php do_action( 'bbp_theme_before_topic_author_details' ); ?>
    5757
    58                 <?php bbp_topic_author_link( array( 'sep' => '<br />' ) ); ?>
     58                <?php bbp_topic_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
    5959
    6060                <?php if ( is_super_admin() ) : ?>
  • branches/plugin/bbp-theme-compat/bbpress/loop-single-reply.php

    r3734 r3861  
    3434        <?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
    3535
    36         <?php bbp_reply_author_link( array( 'sep' => '<br />' ) ); ?>
     36        <?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
    3737
    3838        <?php if ( is_super_admin() ) : ?>
  • branches/plugin/bbp-themes/bbp-twentyten/bbpress/content-single-topic-lead.php

    r3820 r3861  
    5454                <td class="bbp-topic-author">
    5555
    56                     <?php bbp_topic_author_link( array( 'sep' => '<br />' ) ); ?>
     56                    <?php bbp_topic_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
    5757
    5858                    <?php if ( is_super_admin() ) : ?>
  • branches/plugin/bbp-themes/bbp-twentyten/bbpress/loop-single-reply.php

    r3820 r3861  
    3232            <?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
    3333
    34             <?php bbp_reply_author_link( array( 'sep' => '<br />' ) ); ?>
     34            <?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
    3535
    3636            <?php if ( is_super_admin() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.