X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/72836ec95a52eacbda4dc5aa296b7dd6de08bd3b..ac7339a398e6df50f722bc9616291ce5447d8e5e:/wp-admin/options-permalink.php diff --git a/wp-admin/options-permalink.php b/wp-admin/options-permalink.php index 738a0c3f..0d241ae8 100644 --- a/wp-admin/options-permalink.php +++ b/wp-admin/options-permalink.php @@ -41,9 +41,9 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '
' . __('For more information:') . '
' . - '' . __('Documentation on Permalinks Settings') . '
' . - '' . __('Documentation on Using Permalinks') . '
' . - '' . __('Support Forums') . '
' + '' . __('Documentation on Permalinks Settings') . '
' . + '' . __('Documentation on Using Permalinks') . '
' . + '' . __('Support Forums') . '
' ); /** @@ -54,7 +54,6 @@ get_current_screen()->set_help_sidebar( function options_permalink_add_js() { ?> mod_rewrite_rules() ) ); + $update_required = ( $new_rules !== $existing_rules ); + } } if ( $wp_rewrite->using_index_permalinks() ) @@ -145,22 +148,24 @@ flush_rewrite_rules(); require( ABSPATH . 'wp-admin/admin-header.php' ); if ( ! empty( $_GET['settings-updated'] ) ) : ?> -