Changeset 11766 for trunk/src/bp-members/bp-members-template.php
- Timestamp:
- 12/12/2017 02:26:15 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-members/bp-members-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/bp-members-template.php
r11588 r11766 2119 2119 2120 2120 /** 2121 * Get the activation key from the current request URL. 2122 * 2123 * @since 3.0.0 2124 * 2125 * @return string 2126 */ 2127 function bp_get_current_activation_key() { 2128 $key = ''; 2129 2130 if ( bp_is_current_component( 'activate' ) ) { 2131 if ( isset( $_GET['key'] ) ) { 2132 $key = wp_unslash( $_GET['key'] ); 2133 } else { 2134 $key = bp_current_action(); 2135 } 2136 } 2137 2138 /** 2139 * Filters the activation key from the current request URL. 2140 * 2141 * @since 3.0.0 2142 * 2143 * @param string $key Activation key. 2144 */ 2145 return apply_filters( 'bp_get_current_activation_key', $key ); 2146 } 2147 2148 /** 2121 2149 * Output the username submitted during signup. 2122 2150 *
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)