Make WordPress Core

Ticket #16909: 16909.5.patch

File 16909.5.patch, 545 bytes (added by hakre, 13 years ago)

Triggered by dashboard.php

  • wp-admin/includes/dashboard.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress-trunk
     
    124124                ob_start(); // hack - but the same hack wp-admin/widgets.php uses
    125125                wp_dashboard_trigger_widget_control( $_POST['widget_id'] );
    126126                ob_end_clean();
    127                 wp_redirect( remove_query_arg( 'edit' ) );
     127                wp_redirect( admin_url( 'index.php' ) );
    128128                exit;
    129129        }
    130130