Skip to:
Content

BuddyPress.org

Changeset 6194


Ignore:
Timestamp:
07/23/2012 07:05:48 PM (14 years ago)
Author:
djpaul
Message:

Load textdomain when BuddyPress is in maintenance mode (install or upgrade). Fixes #4376

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-loader.php

    r6191 r6194  
    397397                require( $this->plugin_dir . 'bp-core/bp-core-caps.php'      );
    398398                require( $this->plugin_dir . 'bp-core/bp-core-options.php'   );
     399
     400                /**
     401                 * Textdomain is usually loaded via the bp_core_loaded action, but
     402                 * that action isn't available when BP is in maintenance mode.
     403                 */
     404                add_action( 'plugins_loaded', 'bp_core_load_buddypress_textdomain', 9 );
    399405
    400406                // Load up BuddyPress's admin
Note: See TracChangeset for help on using the changeset viewer.