WordPress.org

Make WordPress Core

Ticket #9294: wp-admin--includes--upgrade.php.diff

File wp-admin--includes--upgrade.php.diff, 518 bytes (added by josephscott, 6 years ago)
  • wp-admin/includes/upgrade.php

     
    150150                                                                'link_rss' => '', 
    151151                                                                'link_notes' =>''); 
    152152 
    153         foreach ( default_links as $link ) { 
     153        foreach ( $default_links as $link ) { 
    154154                $wpdb->insert( $wpdb->links, $link); 
    155155                $wpdb->insert( $wpdb->term_relationships, array('term_taxonomy_id' => 2, 'object_id' => $wpdb->insert_id) ); 
    156156        }