WordPress.org

Make WordPress Core

Ticket #21307: 21307-default_option.diff

File 21307-default_option.diff, 533 bytes (added by ryan, 20 months ago)
  • wp-includes/default-filters.php

     
    282282add_action( 'admin_init', 'register_admin_color_schemes', 1); 
    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);