Make WordPress Core


Ignore:
Timestamp:
01/07/2011 07:01:34 PM (14 years ago)
Author:
ryan
Message:

Fix net admin theme deletion over FTP. see #16117

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/themes.php

    r17233 r17237  
    161161
    162162            foreach ( $themes as $theme )
    163                 $delete_result = delete_theme( $theme );
     163                $delete_result = delete_theme( $theme, esc_url( add_query_arg( array('verify-delete' => 1), $_SERVER['REQUEST_URI'] ) ) );
    164164            wp_redirect( add_query_arg( 'deleted', count( $themes ), $referer ) );
    165165            exit;
Note: See TracChangeset for help on using the changeset viewer.