Changeset 9772 for trunk/src/bp-core/admin/bp-core-admin-functions.php
- Timestamp:
- 04/20/2015 03:38:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-functions.php
r9665 r9772 299 299 if ( !empty( $orphaned_components ) ) { 300 300 $admin_url = bp_get_admin_url( add_query_arg( array( 'page' => 'bp-page-settings' ), 'admin.php' ) ); 301 $notice = sprintf( __( 'The following active BuddyPress Components do not have associated WordPress Pages: %2$s. <a href="%1$s">Repair</a>', 'buddypress' ), $admin_url, '<strong>' . implode( '</strong>, <strong>', $orphaned_components ) . '</strong>' );301 $notice = sprintf( __( 'The following active BuddyPress Components do not have associated WordPress Pages: %2$s. <a href="%1$s">Repair</a>', 'buddypress' ), esc_url( $admin_url ), '<strong>' . implode( '</strong>, <strong>', $orphaned_components ) . '</strong>' ); 302 302 303 303 bp_core_add_admin_notice( $notice ); … … 321 321 if ( !empty( $dupe_names ) ) { 322 322 $admin_url = bp_get_admin_url( add_query_arg( array( 'page' => 'bp-page-settings' ), 'admin.php' ) ); 323 $notice = sprintf( __( 'Each BuddyPress Component needs its own WordPress page. The following WordPress Pages have more than one component associated with them: %2$s. <a href="%1$s">Repair</a>', 'buddypress' ), $admin_url, '<strong>' . implode( '</strong>, <strong>', $dupe_names ) . '</strong>' );323 $notice = sprintf( __( 'Each BuddyPress Component needs its own WordPress page. The following WordPress Pages have more than one component associated with them: %2$s. <a href="%1$s">Repair</a>', 'buddypress' ), esc_url( $admin_url ), '<strong>' . implode( '</strong>, <strong>', $dupe_names ) . '</strong>' ); 324 324 325 325 bp_core_add_admin_notice( $notice ); … … 910 910 bp_core_process_spammer_status( $user_id, $status ); 911 911 912 $redirect = add_query_arg( array( 'updated' => 'marked-' . $status ), $redirect );912 $redirect = add_query_arg( array( 'updated' => 'marked-' . $status ), $redirect ); 913 913 914 914 wp_redirect( $redirect );
Note: See TracChangeset
for help on using the changeset viewer.