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
This commit is contained in:
parent
0eb9f7e414
commit
0aaa2f0f32
@ -262,7 +262,6 @@ As a new WordPress user, you should go to <a href=\"%s\">your dashboard</a> 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') ) :
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user