Skip to:
Content

bbPress.org

Changeset 4035


Ignore:
Timestamp:
06/29/2012 12:35:22 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Languages:

  • Move 'bbp_load_textdomain' action to 'bbp_loaded' from 'bbp_init.'
  • Loads early to allow widget titles to be translated.
  • Fixes #1797.
  • Props daveshine, cnorris23.
File:
1 edited

Legend:

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

    r3966 r4035  
    6969add_action( 'bbp_loaded', 'bbp_register_theme_directory',  14 );
    7070add_action( 'bbp_loaded', 'bbp_register_theme_packages',   16 );
     71add_action( 'bbp_loaded', 'bbp_load_textdomain',           18 );
    7172
    7273/**
     
    7778 *                                                    v---Load order
    7879 */
    79 add_action( 'bbp_init', 'bbp_load_textdomain',         2   );
    8080add_action( 'bbp_init', 'bbp_register_post_types',     10  );
    8181add_action( 'bbp_init', 'bbp_register_post_statuses',  12  );
Note: See TracChangeset for help on using the changeset viewer.