Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/19/2017 09:46:29 AM (9 years ago)
Author:
johnjamesjacoby
Message:

Authors: Rejig author link functions.

  • Allow for easier filtering of link sections
  • Update default arguments to remove no-break space and <br>, and rely on styling instead
  • Surrounding code clean-up
  • Add escaping to display names in links
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/templates/default/bbpress/content-single-topic-lead.php

    r6258 r6591  
    5353                <?php do_action( 'bbp_theme_before_topic_author_details' ); ?>
    5454
    55                 <?php bbp_topic_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
     55                <?php bbp_topic_author_link( array( 'show_role' => true ) ); ?>
    5656
    5757                <?php if ( current_user_can( 'moderate', bbp_get_reply_id() ) ) : ?>
Note: See TracChangeset for help on using the changeset viewer.