Make WordPress Core

Changeset 24590


Ignore:
Timestamp:
07/08/2013 05:10:47 PM (11 years ago)
Author:
nacin
Message:

Use correct variable when calling request_filesystem_credentials() in delete_theme(). see #24210.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/theme.php

    r23265 r24590  
    3838
    3939    if ( ! WP_Filesystem($credentials) ) {
    40         request_filesystem_credentials($url, '', true); // Failed to connect, Error and request again
     40        request_filesystem_credentials($redirect, '', true); // Failed to connect, Error and request again
    4141        $data = ob_get_contents();
    4242        ob_end_clean();
Note: See TracChangeset for help on using the changeset viewer.