Changeset 6579 for trunk/bp-core/admin/bp-core-functions.php
- Timestamp:
- 12/10/2012 06:50:12 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/admin/bp-core-functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-functions.php
r6558 r6579 162 162 163 163 /** 164 * Redirect user to bbPress's What's New page on activation165 * 166 * @since bbPress (r4389)167 * 168 * @internal Used internally to redirect bbPress to the about page on activation164 * Redirect user to BuddyPress's What's New page on activation 165 * 166 * @since BuddyPress (1.7) 167 * 168 * @internal Used internally to redirect BuddyPress to the about page on activation 169 169 * 170 170 * @uses get_transient() To see if transient to redirect exists … … 175 175 * @uses admin_url() To get the admin URL to index.php 176 176 * 177 * @return If no transient, or i n network admin, or is bulk activation177 * @return If no transient, or is bulk activation 178 178 */ 179 179 function bp_do_activation_redirect() { … … 187 187 188 188 // Bail if activating from network, or bulk 189 if ( is _network_admin() || isset( $_GET['activate-multi'] ) )190 return; 191 192 // Redirect to bbPress about page193 wp_safe_redirect( add_query_arg( array( 'page' => 'bp-about' ), admin_url( 'index.php' ) ) );189 if ( isset( $_GET['activate-multi'] ) ) 190 return; 191 192 // Redirect to BuddyPress about page 193 wp_safe_redirect( add_query_arg( array( 'page' => 'bp-about' ), bp_get_admin_url( 'index.php' ) ) ); 194 194 } 195 195
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)