The new wp_install_maybe_enable_pretty_permalinks() function doesn't need to be pluggable.

See #6481. Props nacin, valendesigns

Built from https://develop.svn.wordpress.org/trunk@31159


git-svn-id: http://core.svn.wordpress.org/trunk@31140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dion Hulse 2015-01-12 04:31:23 +00:00
parent 8f35b191db
commit a114d0929b
2 changed files with 1 additions and 3 deletions

View File

@ -262,7 +262,6 @@ As a new WordPress user, you should go to <a href=\"%s\">your dashboard</a> to d
} }
endif; endif;
if ( ! function_exists( 'wp_install_maybe_enable_pretty_permalinks' ) ) :
/** /**
* Enable pretty permalinks if available. * Enable pretty permalinks if available.
* *
@ -329,7 +328,6 @@ function wp_install_maybe_enable_pretty_permalinks() {
$wp_rewrite->set_permalink_structure( '' ); $wp_rewrite->set_permalink_structure( '' );
$wp_rewrite->flush_rules( true ); $wp_rewrite->flush_rules( true );
} }
endif;
if ( !function_exists('wp_new_blog_notification') ) : if ( !function_exists('wp_new_blog_notification') ) :
/** /**

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.2-alpha-31158'; $wp_version = '4.2-alpha-31159';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.