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/topics/template.php

    r5559 r5561  
    32143214 * @param $args This function supports these arguments:
    32153215 *  - select_id: Select id. Defaults to bbp_stick_topic
    3216  *  - tab: Tabindex
     3216 *  - tab: Deprecated. Tabindex
    32173217 *  - topic_id: Topic id
    32183218 *  - selected: Override the selected option
     
    32293229 * @param $args This function supports these arguments:
    32303230 *  - select_id: Select id. Defaults to bbp_stick_topic
    3231  *  - tab: Tabindex
     3231 *  - tab: Deprecated. Tabindex
    32323232 *  - topic_id: Topic id
    32333233 *  - selected: Override the selected option
     
    32433243     * @param $args This function supports these arguments:
    32443244     *  - select_id: Select id. Defaults to bbp_stick_topic
    3245      *  - tab: Tabindex
     3245     *  - tab: Deprecated. Tabindex
    32463246     *  - topic_id: Topic id
    32473247     *  - selected: Override the selected option
     
    32573257        $r = bbp_parse_args( $args, array(
    32583258            'select_id'    => 'bbp_stick_topic',
    3259             'tab'          => bbp_get_tab_index(),
     3259            'tab'          => false,
    32603260            'topic_id'     => 0,
    32613261            'selected'     => false
     
    33193319 * @param $args This function supports these arguments:
    33203320 *  - select_id: Select id. Defaults to bbp_topic_status
    3321  *  - tab: Tabindex
     3321 *  - tab: Deprecated. Tabindex
    33223322 *  - topic_id: Topic id
    33233323 *  - selected: Override the selected option
     
    33373337     * @param $args This function supports these arguments:
    33383338     *  - select_id: Select id. Defaults to bbp_topic_status
    3339      *  - tab: Tabindex
     3339     *  - tab: Deprecated. Tabindex
    33403340     *  - topic_id: Topic id
    33413341     *  - selected: Override the selected option
     
    33463346        $r = bbp_parse_args( $args, array(
    33473347            'select_id' => 'bbp_topic_status',
    3348             'tab'       => bbp_get_tab_index(),
     3348            'tab'       => false,
    33493349            'topic_id'  => 0,
    33503350            'selected'  => false
Note: See TracChangeset for help on using the changeset viewer.