If the DB upgrade hasn't yet been run, assume the Link Manager is disabled. Important for multisite installs. props ryan. see #21307.
git-svn-id: http://core.svn.wordpress.org/trunk@21537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e79a56793c
commit
7109699941
|
@ -282,4 +282,7 @@ add_filter( 'pre_option_gmt_offset','wp_timezone_override_offset' );
|
||||||
add_action( 'admin_init', 'register_admin_color_schemes', 1);
|
add_action( 'admin_init', 'register_admin_color_schemes', 1);
|
||||||
add_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' );
|
add_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' );
|
||||||
|
|
||||||
|
// If the upgrade hasn't run yet, assume link manager is used.
|
||||||
|
add_filter( 'default_option_link_manager_enabled', '__return_true' );
|
||||||
|
|
||||||
unset($filter, $action);
|
unset($filter, $action);
|
||||||
|
|
Loading…
Reference in New Issue