Changeset 31624 for trunk/src/wp-admin/upload.php
- Timestamp:
- 03/05/2015 03:58:02 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/upload.php
r31619 r31624 226 226 if ( ! empty( $_GET['attached'] ) && $attached = absint( $_GET['attached'] ) ) { 227 227 $message = sprintf( _n('Reattached %d attachment.', 'Reattached %d attachments.', $attached), $attached ); 228 $_SERVER['REQUEST_URI'] = remove_query_arg( array( 'detach ed', 'attached' ), $_SERVER['REQUEST_URI'] );229 } 230 231 if ( ! empty( $_GET['detach ed'] ) && $detached = absint( $_GET['detached'] ) ) {228 $_SERVER['REQUEST_URI'] = remove_query_arg( array( 'detach', 'attached' ), $_SERVER['REQUEST_URI'] ); 229 } 230 231 if ( ! empty( $_GET['detach'] ) && $detached = absint( $_GET['detach'] ) ) { 232 232 $message = sprintf( _n( 'Detached %d attachment.', 'Detached %d attachments.', $detached ), $detached ); 233 $_SERVER['REQUEST_URI'] = remove_query_arg( array( 'detach ed', 'attached' ), $_SERVER['REQUEST_URI'] );233 $_SERVER['REQUEST_URI'] = remove_query_arg( array( 'detach', 'attached' ), $_SERVER['REQUEST_URI'] ); 234 234 } 235 235
Note: See TracChangeset
for help on using the changeset viewer.