PluginProbe
bbPress / 2.6.19
bbPress v2.6.19
2.6.19 2.6.18 2.6.17 trunk 2.0 2.0-beta-1 2.0-beta-2b 2.0-beta-3 2.0-beta-3b 2.0-rc-2 2.0-rc-3 2.0-rc-4 2.0-rc-5 2.0.1 2.0.2 2.0.3 2.1 2.1-beta-1 2.1-rc1 2.1-rc2 2.1-rc3 2.1-rc4 2.1.1 2.1.2 2.1.3 All 74 releases
← All changes | templates/default/bbpress/form-reply.php +14 -34 trunk → 2.6.19 View file →
@@ -26,32 +26,20 @@
26 26
27 27 <?php do_action( 'bbp_theme_before_reply_form' ); ?>
28 28
29 29 <fieldset class="bbp-form">
30 - <legend>
31 - <?php
32 - if ( bbp_get_form_reply_to() ) {
33 -
34 - printf(
35 - /* translators: %s: Reply reference (includes reply number and topic title) */
36 - esc_html__( 'Reply To: %s', 'bbpress' ),
30 + <legend><?php printf(
31 + /* translators: %s: Reply reference (includes reply number and topic title) */
32 + esc_html__( 'Reply To: %s', 'bbpress' ),
33 + ( bbp_get_form_reply_to() ) ?
37 34 sprintf(
38 35 /* translators: 1: Reply number, 2: Topic title */
39 36 esc_html__( 'Reply #%1$s in %2$s', 'bbpress' ),
40 37 bbp_get_form_reply_to(),
41 38 bbp_get_topic_title()
42 - )
43 - );
44 - } else {
45 -
46 - printf(
47 - /* translators: %s: Topic title */
48 - esc_html__( 'Reply To: %s', 'bbpress' ),
39 + ) :
49 40 bbp_get_topic_title()
50 - );
51 - }
52 - ?>
53 - </legend>
41 + ); ?></legend>
54 42
55 43 <?php do_action( 'bbp_theme_before_reply_form_notices' ); ?>
56 44
57 45 <?php if ( ! bbp_is_topic_open() && ! bbp_is_reply_edit() ) : ?>
@@ -212,17 +200,13 @@
212 200
213 201 <div id="no-reply-<?php bbp_topic_id(); ?>" class="bbp-no-reply">
214 202 <div class="bbp-template-notice">
215 203 <ul>
216 - <li>
217 - <?php
218 - printf(
204 + <li><?php printf(
219 205 /* translators: %s: Topic title */
220 - esc_html__( 'The topic &#8216;%s&#8217; is closed to new replies.', 'bbpress' ),
221 - bbp_get_topic_title()
222 - );
223 - ?>
224 - </li>
206 + esc_html__( 'The topic &#8216;%s&#8217; is closed to new replies.', 'bbpress' ),
207 + bbp_get_topic_title()
208 + ); ?></li>
225 209 </ul>
226 210 </div>
227 211 </div>
228 212
@@ -230,17 +214,13 @@
230 214
231 215 <div id="no-reply-<?php bbp_topic_id(); ?>" class="bbp-no-reply">
232 216 <div class="bbp-template-notice">
233 217 <ul>
234 - <li>
235 - <?php
236 - printf(
218 + <li><?php printf(
237 219 /* translators: %s: Forum title */
238 - esc_html__( 'The forum &#8216;%s&#8217; is closed to new topics and replies.', 'bbpress' ),
239 - bbp_get_forum_title( bbp_get_topic_forum_id() )
240 - );
241 - ?>
242 - </li>
220 + esc_html__( 'The forum &#8216;%s&#8217; is closed to new topics and replies.', 'bbpress' ),
221 + bbp_get_forum_title( bbp_get_topic_forum_id() )
222 + ); ?></li>
243 223 </ul>
244 224 </div>
245 225 </div>
246 226