Skip to:
Content

bbPress.org

Changeset 2811


Ignore:
Timestamp:
01/17/2011 05:32:48 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Add missing phpDoc from r2810. Assign a default tab_index value to try to avoid conflicts.

Location:
branches/plugin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-general-template.php

    r2810 r2811  
    330330 * tab index by default.
    331331 *
     332 * @since bbPress (r2810)
     333 *
    332334 * @param int $auto_increment Optional Default true. Set to false to prevent ++
    333335 */
     
    343345     * tab index by default.
    344346     *
     347     * @since bbPress (r2810)
     348     *
    345349     * @uses apply_filters Allows return value to be filtered
    346350     * @param int $auto_increment Optional Default true. Set to false to prevent ++
  • branches/plugin/bbpress.php

    r2810 r2811  
    243243    function _setup_globals() {
    244244
    245         /** Paths *****************************************************/
     245        /** Paths *************************************************************/
    246246
    247247        // bbPress root directory
     
    257257        $this->themes_url       = $this->plugin_url . 'bbp-themes';
    258258
    259         /** Identifiers ***********************************************/
     259        /** Identifiers *******************************************************/
    260260
    261261        // Post type identifiers
     
    270270        $this->trash_status_id  = 'trash';
    271271
    272         /** Slugs *****************************************************/
     272        /** Slugs *************************************************************/
    273273
    274274        // Root forum slug
     
    286286        $this->topic_tag_slug   = apply_filters( 'bbp_topic_tag_slug', $prefix . get_option( '_bbp_topic_tag_slug', 'tag'   ) );
    287287
    288         /** Misc ******************************************************/
     288        /** Misc **************************************************************/
    289289
    290290        // Errors
    291         $this->errors = new WP_Error();
     291        $this->errors           = new WP_Error();
    292292
    293293        // Views
    294         $this->views  = array();
     294        $this->views            = array();
     295       
     296        // Tab Index
     297        $this->tab_index        = apply_filters( 'bbp_default_tab_index', 100 );
    295298    }
    296299
Note: See TracChangeset for help on using the changeset viewer.