Skip to:
Content

bbPress.org


Ignore:
Timestamp:
04/01/2011 01:33:09 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Adjustments to login and register forms to improve behavior and functionality.
Various documentation fixes.
Rename _bbp_topic_status meta to _bbp_status, and add migration routine to updater.
Sanity checks on $wp_query in bbp_pre_get_posts.

Fixes #1476, #1493. Props GautamGupta for original diff.

File:
1 edited

Legend:

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

    r2965 r2970  
    3636 * bbp_loaded - Attached to 'plugins_loaded' above
    3737 *
    38  * Attach various loader actionss to the bbp_loaded action.
     38 * Attach various loader actions to the bbp_loaded action.
    3939 * The load order helps to load code at the correct time.
    4040 *                                                        v---Load order
     
    4949 * bbp_init - Attached to 'init' above
    5050 *
    51  * Attach various initialization actionss to the init action.
     51 * Attach various initialization actions to the init action.
    5252 * The load order helps to load code at the correct time.
    5353 *                                                    v---Load order
     
    7676add_action( 'widgets_init', create_function( '', 'return register_widget("BBP_Replies_Widget");' ) );
    7777
    78 // Template - Head, foot, errors and notices
    79 add_action( 'wp_head',              'bbp_head'                  );
    80 add_filter( 'wp_title',             'bbp_title',          10, 3 );
    81 add_action( 'wp_footer',            'bbp_footer'                );
    82 add_action( 'bbp_template_notices', 'bbp_error_messages'        );
    83 add_action( 'bbp_template_notices', 'bbp_topic_notices'         );
     78// Template - Head, foot, errors and messages
     79add_action( 'wp_head',              'bbp_head'                    );
     80add_filter( 'wp_title',             'bbp_title',            10, 3 );
     81add_action( 'wp_footer',            'bbp_footer'                  );
     82add_action( 'bbp_loaded',           'bbp_login_notices'           );
     83add_action( 'bbp_head',             'bbp_topic_notices'           );
     84add_action( 'bbp_template_notices', 'bbp_template_notices'        );
    8485
    8586// Add to body class
     
    311312
    312313/**
    313  * On multiblog installations you must first allow themes to be activated and show
    314  * up on the theme selection screen. This function will let the bbPress bundled
    315  * themes show up and bypass this step.
     314 * On multiblog installations you must first allow themes to be activated and
     315 * show up on the theme selection screen. This function will let the bbPress
     316 * bundled themes show up and bypass this step.
    316317 *
    317318 * @since bbPress (r2944)
    318319 *
    319  * @uses is_super_admin()
    320  * @uses apply_filters()
     320 * @uses is_super_admin() To check if the user is site admin
     321 * @uses apply_filters() Calls 'bbp_allowed_themes' with the allowed themes list
    321322 */
    322323function bbp_allowed_themes( $themes ) {
Note: See TracChangeset for help on using the changeset viewer.