Changeset 3105
- Timestamp:
- 06/28/2010 08:40:31 AM (16 years ago)
- Location:
- branches/1.2
- Files:
-
- 4 edited
-
bp-activity.php (modified) (1 diff)
-
bp-core.php (modified) (3 diffs)
-
bp-core/bp-core-avatars.php (modified) (1 diff)
-
bp-loader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-activity.php
r3100 r3105 1193 1193 do_action( 'bp_register_activity_actions' ); 1194 1194 } 1195 add_action( 'bp_ init', 'bp_register_activity_actions');1195 add_action( 'bp_loaded', 'bp_register_activity_actions', 8 ); 1196 1196 1197 1197 -
branches/1.2/bp-core.php
r3103 r3105 1954 1954 load_textdomain( 'buddypress', $mofile ); 1955 1955 } 1956 add_action ( 'bp_ init', 'bp_core_load_buddypress_textdomain', 2 );1956 add_action ( 'bp_loaded', 'bp_core_load_buddypress_textdomain', 2 ); 1957 1957 1958 1958 function bp_core_add_ajax_hook() { … … 2052 2052 * hook in to. 2053 2053 */ 2054 2055 /** 2056 * bp_include() 2057 * 2058 * Allow plugins to include their files ahead of core filters 2059 */ 2060 function bp_include() { 2061 do_action( 'bp_include' ); 2062 } 2063 add_action( 'bp_loaded', 'bp_include', 2 ); 2064 2065 /** 2066 * bp_setup_root_components() 2067 * 2068 * Allow core components and dependent plugins to set root components 2069 */ 2070 function bp_setup_root_components() { 2071 do_action( 'bp_setup_root_components' ); 2072 } 2073 add_action( 'bp_loaded', 'bp_setup_root_components', 2 ); 2074 2075 /** 2076 * bp_setup_globals() 2077 * 2078 * Allow core components and dependent plugins to set globals 2079 */ 2080 function bp_setup_globals() { 2081 do_action( 'bp_setup_globals' ); 2082 } 2083 add_action( 'bp_loaded', 'bp_setup_globals', 6 ); 2084 2085 /** 2086 * bp_setup_nav() 2087 * 2088 * Allow core components and dependent plugins to set their nav 2089 */ 2090 function bp_setup_nav() { 2091 do_action( 'bp_setup_nav' ); 2092 } 2093 add_action( 'bp_loaded', 'bp_setup_nav', 8 ); 2094 2095 /** 2096 * bp_setup_widgets() 2097 * 2098 * Allow core components and dependent plugins to register widgets 2099 */ 2100 function bp_setup_widgets() { 2101 do_action( 'bp_register_widgets' ); 2102 } 2103 add_action( 'bp_loaded', 'bp_setup_widgets', 8 ); 2054 2104 2055 2105 /** … … 2061 2111 do_action( 'bp_init' ); 2062 2112 } 2063 add_action( 'bp_loaded', 'bp_init', 1 ); 2064 2065 /** 2066 * bp_setup_root_components() 2067 * 2068 * Allow core components and dependent plugins to set root components 2069 */ 2070 function bp_setup_root_components() { 2071 do_action( 'bp_setup_root_components' ); 2072 } 2073 add_action( 'bp_loaded', 'bp_setup_root_components', 2 ); 2074 2075 /** 2076 * bp_setup_globals() 2077 * 2078 * Allow core components and dependent plugins to set globals 2079 */ 2080 function bp_setup_globals() { 2081 do_action( 'bp_setup_globals' ); 2082 } 2083 add_action( 'bp_loaded', 'bp_setup_globals', 6 ); 2084 2085 /** 2086 * bp_setup_nav() 2087 * 2088 * Allow core components and dependent plugins to set their nav 2089 */ 2090 function bp_setup_nav() { 2091 do_action( 'bp_setup_nav' ); 2092 } 2093 add_action( 'bp_loaded', 'bp_setup_nav', 10 ); 2094 2095 /** 2096 * bp_setup_widgets() 2097 * 2098 * Allow core components and dependent plugins to register widgets 2099 */ 2100 function bp_setup_widgets() { 2101 do_action( 'bp_register_widgets' ); 2102 } 2103 add_action( 'bp_loaded', 'bp_setup_widgets', 10 ); 2104 2113 add_action( 'bp_loaded', 'bp_init' ); 2105 2114 2106 2115 /******************************************************************************** -
branches/1.2/bp-core/bp-core-avatars.php
r3088 r3105 45 45 define( 'BP_AVATAR_DEFAULT_THUMB', BP_PLUGIN_URL . '/bp-core/images/mystery-man-50.jpg' ); 46 46 } 47 add_action( 'bp_ init', 'bp_core_set_avatar_constants');47 add_action( 'bp_loaded', 'bp_core_set_avatar_constants', 8 ); 48 48 49 49 /** -
branches/1.2/bp-loader.php
r3102 r3105 62 62 do_action( 'bp_loaded' ); 63 63 } 64 add_action( 'plugins_loaded', 'bp_loaded' );64 add_action( 'plugins_loaded', 'bp_loaded', 20 ); 65 65 66 66 /* Activation Function */
Note: See TracChangeset
for help on using the changeset viewer.