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') ) : /**