Changeset 5561 for trunk/src/includes/common/template.php
- Timestamp:
- 11/10/2014 11:21:48 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/template.php
r5559 r5561 1321 1321 * 1322 1322 * @since bbPress (r2810) 1323 * 1323 * @deprecated since version 2.6 1324 * @link https://bbpress.trac.wordpress.org/attachment/ticket/2714 Trac Ticket 1324 1325 * @param int $auto_increment Optional. Default true. Set to false to prevent 1325 1326 * increment … … 1337 1338 * 1338 1339 * @since bbPress (r2810) 1339 * 1340 * @deprecated bbPress (r5560) 1341 * @link https://bbpress.trac.wordpress.org/attachment/ticket/2714 Trac Ticket 1340 1342 * @uses apply_filters Allows return value to be filtered 1341 1343 * @param int $auto_increment Optional. Default true. Set to false to … … 1389 1391 * {@link BBP_Walker_Dropdown} 1390 1392 * - select_id: ID of the select box. Defaults to 'bbp_forum_id' 1391 * - tab: Tabindex value. False or integer1393 * - tab: Deprecated. Tabindex value. False or integer 1392 1394 * - options_only: Show only <options>? No <select>? 1393 1395 * - show_none: Boolean or String __( '(No Forum)', 'bbpress' ) … … 1429 1431 // Output-related 1430 1432 'select_id' => 'bbp_forum_id', 1431 'tab' => bbp_get_tab_index(),1433 'tab' => false, 1432 1434 'options_only' => false, 1433 1435 'show_none' => false, … … 1774 1776 'media_buttons' => false, 1775 1777 'textarea_rows' => '12', 1776 'tabindex' => bbp_get_tab_index(),1778 'tabindex' => false, 1777 1779 'tabfocus_elements' => 'bbp_topic_title,bbp_topic_tags', 1778 1780 'editor_class' => 'bbp-the-content', … … 1836 1838 * escaping the editable output, mucking up existing content. 1837 1839 */ 1838 else : ?> 1839 1840 <textarea id="bbp_<?php echo esc_attr( $r['context'] ); ?>_content" class="<?php echo esc_attr( $r['editor_class'] ); ?>" name="bbp_<?php echo esc_attr( $r['context'] ); ?>_content" cols="60" rows="<?php echo esc_attr( $r['textarea_rows'] ); ?>" tabindex="<?php echo esc_attr( $r['tabindex'] ); ?>"><?php echo $post_content; ?></textarea> 1840 else : 1841 1842 // Setup the tab index attribute 1843 $tab = !empty( $r['tab'] ) ? ' tabindex="' . intval( $r['tab'] ) . '"' : ''; ?> 1844 1845 <textarea id="bbp_<?php echo esc_attr( $r['context'] ); ?>_content" class="<?php echo esc_attr( $r['editor_class'] ); ?>" name="bbp_<?php echo esc_attr( $r['context'] ); ?>_content" cols="60" rows="<?php echo esc_attr( $r['textarea_rows'] ); ?>" <?php echo $tab; ?>><?php echo $post_content; ?></textarea> 1841 1846 1842 1847 <?php endif;
Note: See TracChangeset
for help on using the changeset viewer.