Make WordPress Core

Changeset 10157


Ignore:
Timestamp:
12/09/2008 09:50:35 PM (18 years ago)
Author:
markjaquith
Message:

Fix a few trailing spaces/tabs

Location:
trunk/wp-admin/import
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/opml.php

    r9968 r10157  
    1616class OPML_Import {
    1717
    18         function dispatch() { 
     18        function dispatch() {
    1919$step = $_POST['step'];
    2020if (!$step) $step = 0;
  • trunk/wp-admin/import/wordpress.php

    r10021 r10157  
    107107                                if ( !$is_wxr_file && preg_match('|xmlns:wp="http://wordpress[.]org/export/\d+[.]\d+/"|', $importline) )
    108108                                        $is_wxr_file = true;
    109                                
     109
    110110                                if ( false !== strpos($importline, '<wp:base_site_url>') ) {
    111111                                        preg_match('|<wp:base_site_url>(.*?)</wp:base_site_url>|is', $importline, $url);
     
    414414                        echo '<li>';
    415415                        printf(__('Post <em>%s</em> already exists.'), stripslashes($post_title));
    416                         $comment_post_ID = $post_id = $post_exists; 
     416                        $comment_post_ID = $post_id = $post_exists;
    417417                } else {
    418418
     
    559559                if ($this->fetch_attachments and $remote_url) {
    560560                        printf( __('Importing attachment <em>%s</em>... '), htmlspecialchars($remote_url) );
    561                        
     561
    562562                        // If the URL is absolute, but does not contain http, upload it assuming the base_site_url variable
    563563                        if ( preg_match('/^\/[\w\W]+$/', $remote_url) )
    564564                                $remote_url = rtrim($this->base_url,'/').$remote_url;
    565                        
     565
    566566                        $upload = $this->fetch_remote_file($postdata, $remote_url);
    567567                        if ( is_wp_error($upload) ) {
Note: See TracChangeset for help on using the changeset viewer.