WordPress.org

Make WordPress Core

Changeset 21537


Ignore:
Timestamp:
08/16/12 23:09:40 (20 months ago)
Author:
nacin
Message:

If the DB upgrade hasn't yet been run, assume the Link Manager is disabled. Important for multisite installs. props ryan. see #21307.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r21049 r21537  
    283283add_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' ); 
    284284 
     285// If the upgrade hasn't run yet, assume link manager is used. 
     286add_filter( 'default_option_link_manager_enabled', '__return_true' ); 
     287 
    285288unset($filter, $action); 
Note: See TracChangeset for help on using the changeset viewer.