Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/10/2014 11:21:48 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Deprecate tabindex functions and their usages. Props joedolson. Fixes #2714.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/forums/template.php

    r5559 r5561  
    24202420 * @param $args This function supports these arguments:
    24212421 *  - select_id: Select id. Defaults to bbp_forum_type
    2422  *  - tab: Tabindex
     2422 *  - tab: Deprecated. Tabindex
    24232423 *  - forum_id: Forum id
    24242424 *  - selected: Override the selected option
     
    24352435     * @param $args This function supports these arguments:
    24362436     *  - select_id: Select id. Defaults to bbp_forum_type
    2437      *  - tab: Tabindex
     2437     *  - tab: Deprecated. Tabindex
    24382438     *  - forum_id: Forum id
    24392439     *  - selected: Override the selected option
     
    24562456        $r = bbp_parse_args( $args, array(
    24572457            'select_id'    => 'bbp_forum_type',
    2458             'tab'          => bbp_get_tab_index(),
     2458            'tab'          => false,
    24592459            'forum_id'     => $forum_id,
    24602460            'selected'     => false
     
    25122512 * @param $args This function supports these arguments:
    25132513 *  - select_id: Select id. Defaults to bbp_forum_status
    2514  *  - tab: Tabindex
     2514 *  - tab: Deprecated. Tabindex
    25152515 *  - forum_id: Forum id
    25162516 *  - selected: Override the selected option
     
    25272527     * @param $args This function supports these arguments:
    25282528     *  - select_id: Select id. Defaults to bbp_forum_status
    2529      *  - tab: Tabindex
     2529     *  - tab: Deprecated. Tabindex
    25302530     *  - forum_id: Forum id
    25312531     *  - selected: Override the selected option
     
    25482548        $r = bbp_parse_args( $args, array(
    25492549            'select_id'    => 'bbp_forum_status',
    2550             'tab'          => bbp_get_tab_index(),
     2550            'tab'          => false,
    25512551            'forum_id'     => $forum_id,
    25522552            'selected'     => false
     
    26042604 * @param $args This function supports these arguments:
    26052605 *  - select_id: Select id. Defaults to bbp_forum_visibility
    2606  *  - tab: Tabindex
     2606 *  - tab: Deprecated. Tabindex
    26072607 *  - forum_id: Forum id
    26082608 *  - selected: Override the selected option
     
    26192619     * @param $args This function supports these arguments:
    26202620     *  - select_id: Select id. Defaults to bbp_forum_visibility
    2621      *  - tab: Tabindex
     2621     *  - tab: Deprecated. Tabindex
    26222622     *  - forum_id: Forum id
    26232623     *  - selected: Override the selected option
Note: See TracChangeset for help on using the changeset viewer.