WordPress.org

Make WordPress Core

Ticket #15470: 15470.diff

File 15470.diff, 554 bytes (added by caesarsgrunt, 8 years ago)
  • wp-admin/includes/upgrade.php

     
    182182                                                                'link_rss' => '',
    183183                                                                'link_notes' =>'');
    184184
     185        apply_filters( 'wp_install_default_links', $default_links );
     186
    185187        foreach ( $default_links as $link ) {
    186188                $wpdb->insert( $wpdb->links, $link);
    187189                $wpdb->insert( $wpdb->term_relationships, array('term_taxonomy_id' => $blogroll_tt_id, 'object_id' => $wpdb->insert_id) );