Ticket #2757: 2757.patch
File 2757.patch, 1.2 KB (added by , 9 years ago) |
---|
-
src/includes/common/classes.php
319 319 320 320 switch ( $args['style'] ) { 321 321 case 'div': 322 echo "<div class='bbp-threaded-replies'>\n"; 322 323 break; 323 324 case 'ol': 324 325 echo "<ol class='bbp-threaded-replies'>\n"; … … 530 531 ob_start(); ?> 531 532 532 533 <option class="<?php echo esc_attr( $class ); ?>" value="<?php echo esc_attr( $value ); ?>"<?php selected( $args['selected'], $object->ID ); ?> <?php disabled( in_array( $reply_id, $ancestors ), true ); ?>><?php echo $pad . esc_html( $title ); ?></option> 533 534 534 535 <?php 535 536 536 537 // Append the output buffer to the $output variable -
src/includes/replies/functions.php
2417 2417 $r = bbp_parse_args( $args, array( 2418 2418 'walker' => null, 2419 2419 'max_depth' => bbp_thread_replies_depth(), 2420 'style' => ' ul',2420 'style' => 'div', 2421 2421 'callback' => null, 2422 2422 'end_callback' => null, 2423 2423 'page' => 1,