Making WordPress.org


Ignore:
Timestamp:
11/01/2018 11:00:00 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Support Forums: Revert [7813], overzealous escaping breaks legitimate markup.

See #3485.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/content-single-topic-lead.php

    r7813 r7818  
    11<?php
     2
    23/**
    34 * Single Topic Part
    … …  
    4445                                <?php do_action( 'bbp_theme_before_topic_author_details' ); ?>
    4546
    46                                 <?php
    47                                 bbp_topic_author_link(
    48                                         array(
    49                                                 'sep'       => '',
    50                                                 'show_role' => false,
    51                                                 'size'      => 100,
    52                                         )
    53                                 );
    54                                 ?>
     47                                <?php bbp_topic_author_link( array( 'sep' => '', 'show_role' => false, 'size' => 100 ) ); ?>
    5548
    56                                 <?php
    57                                 bbp_user_nicename(
    58                                         bbp_get_topic_author_id(),
    59                                         array(
    60                                                 'before' => '<p class="bbp-user-nicename">(@',
    61                                                 'after'  => ')</p><br />',
    62                                         )
    63                                 );
    64                                 ?>
     49                                <?php bbp_user_nicename( bbp_get_topic_author_id(), array( 'before' => '<p class="bbp-user-nicename">(@', 'after' => ')</p><br />' ) ); ?>
    6550
    6651                                <?php if ( current_user_can( 'moderate', bbp_get_topic_id() ) && 'bbp_blocked' === bbp_get_user_role( bbp_get_topic_author_id() ) ) : ?>
Note: See TracChangeset for help on using the changeset viewer.