WordPress.org

Make WordPress Core

Ticket #10793: import_postmeta_patch.diff

File import_postmeta_patch.diff, 611 bytes (added by bigdawggi, 5 years ago)
  • Users/mrichmond/Sites/elsevier/wp-admin/import/wordpress.php

     
    543543 
    544544                } } 
    545545 
     546                // Add a post_meta record for original url 
     547                $this->process_post_meta($post_id, apply_filters('import_legacy_url_key', '_legacy_url'), apply_filters('import_legacy_url', $this->get_tag( $post, 'link' ))); 
     548 
    546549                do_action('import_post_added', $post_id); 
    547550                print "</li>\n"; 
    548551        }