From 0aaa2f0f3268d83d3b0459d99411a42d18173216 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Mon, 12 Jan 2015 04:30:01 +0000 Subject: [PATCH] The new wp_install_maybe_enable_pretty_permalinks() function doesn't need to be pluggable. See #6481. Props nacin, valendesigns git-svn-id: https://develop.svn.wordpress.org/trunk@31159 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/upgrade.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php index 1c0f9f770f..abcd39e88c 100644 --- a/src/wp-admin/includes/upgrade.php +++ b/src/wp-admin/includes/upgrade.php @@ -262,7 +262,6 @@ As a new WordPress user, you should go to your dashboard to d } endif; -if ( ! function_exists( 'wp_install_maybe_enable_pretty_permalinks' ) ) : /** * Enable pretty permalinks if available. * @@ -329,7 +328,6 @@ function wp_install_maybe_enable_pretty_permalinks() { $wp_rewrite->set_permalink_structure( '' ); $wp_rewrite->flush_rules( true ); } -endif; if ( !function_exists('wp_new_blog_notification') ) : /**