WordPress.org

Make WordPress Core

Ticket #40440: fix.patch

File fix.patch, 657 bytes (added by sebastian.pisula, 2 years ago)
  • wp-admin/options-permalink.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    144144
    145145        set_transient( 'settings_errors', get_settings_errors(), 30 );
    146146
     147        flush_rewrite_rules();
    147148        wp_redirect( admin_url( 'options-permalink.php?settings-updated=true' ) );
    148149        exit;
    149150}
    150151
    151 flush_rewrite_rules();
    152 
    153152require( ABSPATH . 'wp-admin/admin-header.php' );
    154153?>
    155154<div class="wrap">