Changeset 6309 for trunk/bp-groups/bp-groups-admin.php
- Timestamp:
- 09/06/2012 03:48:42 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-admin.php
r6293 r6309 507 507 508 508 <?php else : ?> 509 <p><?php printf( __( 'No group found with this ID. <a href="%s">Go back and try again</a>.', 'buddypress' ), network_admin_url( 'admin.php?page=bp-groups') ); ?></p>509 <p><?php printf( __( 'No group found with this ID. <a href="%s">Go back and try again</a>.', 'buddypress' ), esc_url( bp_get_admin_url( 'admin.php?page=bp-groups' ) ) ); ?></p> 510 510 <?php endif; ?> 511 511 … … 810 810 'page' => 'bp-groups', 811 811 'gid' => $item->id 812 ), is_network_admin() ? network_admin_url( 'admin.php' ) : admin_url( 'admin.php' ) );813 ?> 812 ), bp_get_admin_url( 'admin.php' ) ); ?> 813 814 814 <div id="submitcomment" class="submitbox"> 815 815 <div id="major-publishing-actions"> … … 1201 1201 1202 1202 // Build actions URLs 1203 $base_url = network_admin_url( 'admin.php?page=bp-groups&gid=' . $item['id'] );1203 $base_url = bp_get_admin_url( 'admin.php?page=bp-groups&gid=' . $item['id'] ); 1204 1204 1205 1205 $delete_url = wp_nonce_url( $base_url . "&action=delete", 'bp-groups-delete' ); … … 1210 1210 1211 1211 // Visit 1212 $actions['visit'] = sprintf( '<a href="%s">%s</a>', $visit_url, __( 'Visit', 'buddypress' ) );1212 $actions['visit'] = sprintf( '<a href="%s">%s</a>', esc_url( $visit_url ), __( 'Visit', 'buddypress' ) ); 1213 1213 1214 1214 // Edit 1215 $actions['edit'] = sprintf( '<a href="%s">%s</a>', $edit_url, __( 'Edit', 'buddypress' ) );1215 $actions['edit'] = sprintf( '<a href="%s">%s</a>', esc_url( $edit_url ), __( 'Edit', 'buddypress' ) ); 1216 1216 1217 1217 // Delete 1218 $actions['delete'] = sprintf( '<a href="%s">%s</a>', $delete_url, __( 'Delete', 'buddypress' ) );1218 $actions['delete'] = sprintf( '<a href="%s">%s</a>', esc_url( $delete_url ), __( 'Delete', 'buddypress' ) ); 1219 1219 1220 1220 // Other plugins can filter which actions are shown
Note: See TracChangeset
for help on using the changeset viewer.