Changeset 31624 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 03/05/2015 03:58:02 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r31619 r31624 3059 3059 if ( $referer = wp_get_referer() ) { 3060 3060 if ( false !== strpos( $referer, 'upload.php' ) ) { 3061 $location = remove_query_arg( array( 'attached', 'detach ed' ), $referer );3061 $location = remove_query_arg( array( 'attached', 'detach' ), $referer ); 3062 3062 } 3063 3063 } 3064 3064 3065 $key = 'attach' === $action ? 'attached' : 'detach ed';3065 $key = 'attach' === $action ? 'attached' : 'detach'; 3066 3066 $location = add_query_arg( array( $key => $result ), $location ); 3067 3067 wp_redirect( $location );
Note: See TracChangeset
for help on using the changeset viewer.