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-forum.php

    r7813 r7818  
    11<?php
     2
    23/**
    34 * Single Topic Content Part
     
    1213
    1314<header class="page-header">
    14         <h1 class="page-title"><?php printf( esc_html__( '%s Forum', 'wporg-forums' ), bbp_get_topic_title() ); ?></h1>
     15        <h1 class="page-title"><?php printf( __( '%s Forum', 'wporg-forums' ), bbp_get_topic_title() ); ?></h1>
    1516        <p><?php bbp_forum_content(); ?></p>
    1617</header>
     
    3031                <?php endif; ?>
    3132
    32                 <?php if ( ! bbp_is_forum_category() && bbp_has_topics() ) : ?>
     33                <?php if ( !bbp_is_forum_category() && bbp_has_topics() ) : ?>
    3334
    34                         <?php bbp_get_template_part( 'pagination', 'topics' ); ?>
     35                        <?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
    3536
    36                         <?php bbp_get_template_part( 'loop', 'topics' ); ?>
     37                        <?php bbp_get_template_part( 'loop',       'topics'    ); ?>
    3738
    38                         <?php bbp_get_template_part( 'pagination', 'topics' ); ?>
     39                        <?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
    3940
    40                         <?php
    41                         if ( ! bb_base_topic_search_query( false ) ) {
    42                                 bbp_get_template_part( 'form', 'topic' );
    43                         }
    44                         ?>
     41                        <?php if ( ! bb_base_topic_search_query( false ) ) bbp_get_template_part( 'form',       'topic'     ); ?>
    4542
    46                 <?php elseif ( ! bbp_is_forum_category() ) : ?>
     43                <?php elseif( !bbp_is_forum_category() ) : ?>
    4744
    48                         <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?>
     45                        <?php bbp_get_template_part( 'feedback',   'no-topics' ); ?>
    4946
    50                         <?php
    51                         if ( ! bb_base_topic_search_query( false ) ) {
    52                                 bbp_get_template_part( 'form', 'topic' );
    53                         }
    54                         ?>
     47                        <?php if ( ! bb_base_topic_search_query( false ) ) bbp_get_template_part( 'form',       'topic'     ); ?>
    5548
    5649                <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.