Make WordPress Core


Ignore:
Timestamp:
01/18/2010 08:34:48 PM (15 years ago)
Author:
ryan
Message:

Coding standards, space after if

File:
1 edited

Legend:

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

    r12104 r12752  
    6363            preg_match('|<item type=\"(.*?)\">|is', $post, $post_type);
    6464            $post_type = $post_type[1];
    65             if($post_type == "photo") {
     65            if ($post_type == "photo") {
    6666                preg_match('|<photoFilename>(.*?)</photoFilename>|is', $post, $post_title);
    6767            } else {
     
    8383            }
    8484
    85             if(strcasecmp($post_type, "photo") === 0) {
     85            if (strcasecmp($post_type, "photo") === 0) {
    8686                preg_match('|<sizedPhotoUrl>(.*?)</sizedPhotoUrl>|is', $post, $post_content);
    8787                $post_content = '<img src="'.trim($post_content[1]).'" />';
     
    118118                    break;
    119119                }
    120                 if(0 != count($categories))
     120                if (0 != count($categories))
    121121                    wp_create_categories($categories, $post_id);
    122122            }
Note: See TracChangeset for help on using the changeset viewer.