Changeset 6310 for trunk/bp-core/bp-core-admin.php
- Timestamp:
- 09/06/2012 04:24:22 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-admin.php
r6285 r6310 368 368 */ 369 369 public function add_settings_link( $links, $file ) { 370 global $bp; 371 372 if ( plugin_basename( $bp->file ) == $file ) { 370 371 if ( buddypress()->basename == $file ) { 373 372 $url = bp_core_do_network_admin() ? network_admin_url( 'settings.php' ) : admin_url( 'options-general.php' ); 374 373 $settings_link = '<a href="' . add_query_arg( array( 'page' => 'bp-components' ), $url ) . '">' . __( 'Settings', 'buddypress' ) . '</a>';
Note: See TracChangeset
for help on using the changeset viewer.