From 791cebe932e4e978418150f301cec03e26becd63 Mon Sep 17 00:00:00 2001 From: azaozz Date: Sun, 25 Oct 2009 17:30:58 +0000 Subject: [PATCH] Typo fixes, props dd32, fixes #11030 git-svn-id: http://svn.automattic.com/wordpress/trunk@12104 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/import/blogger.php | 3 ++- wp-admin/import/blogware.php | 2 +- wp-admin/import/livejournal.php | 2 +- wp-admin/import/rss.php | 2 +- wp-admin/import/wordpress.php | 2 +- wp-admin/includes/class-wp-filesystem-ftpsockets.php | 4 ++-- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/wp-admin/import/blogger.php b/wp-admin/import/blogger.php index dacc6f6a45..8b25c8f0cd 100644 --- a/wp-admin/import/blogger.php +++ b/wp-admin/import/blogger.php @@ -197,6 +197,7 @@ class Blogger_Import { $loadauth = esc_js( __('Preparing author mapping form...') ); $authhead = esc_js( __('Final Step: Author Mapping') ); $nothing = esc_js( __('Nothing was imported. Had you already imported this blog?') ); + $stopping = ''; //Missing String used below. $title = __('Blogger Blogs'); $name = __('Blog Name'); $url = __('Blog URL'); @@ -530,7 +531,7 @@ class Blogger_Import { } function _normalize_tag( $matches ) { - return '<' . strtolower( $match[1] ); + return '<' . strtolower( $matches[1] ); } function import_post( $entry ) { diff --git a/wp-admin/import/blogware.php b/wp-admin/import/blogware.php index 369d03d41c..531ceddc7d 100644 --- a/wp-admin/import/blogware.php +++ b/wp-admin/import/blogware.php @@ -43,7 +43,7 @@ class BW_Import { } function _normalize_tag( $matches ) { - return '<' . strtolower( $match[1] ); + return '<' . strtolower( $matches[1] ); } function import_posts() { diff --git a/wp-admin/import/livejournal.php b/wp-admin/import/livejournal.php index 1544c64147..e7efee1b17 100644 --- a/wp-admin/import/livejournal.php +++ b/wp-admin/import/livejournal.php @@ -325,7 +325,7 @@ class LJ_API_Import { } function _normalize_tag( $matches ) { - return '<' . strtolower( $match[1] ); + return '<' . strtolower( $matches[1] ); } function import_post( $post ) { diff --git a/wp-admin/import/rss.php b/wp-admin/import/rss.php index 3b427296bb..0e0928cc49 100644 --- a/wp-admin/import/rss.php +++ b/wp-admin/import/rss.php @@ -44,7 +44,7 @@ class RSS_Import { } function _normalize_tag( $matches ) { - return '<' . strtolower( $match[1] ); + return '<' . strtolower( $matches[1] ); } function get_posts() { diff --git a/wp-admin/import/wordpress.php b/wp-admin/import/wordpress.php index 168b71bd12..7fe782d110 100644 --- a/wp-admin/import/wordpress.php +++ b/wp-admin/import/wordpress.php @@ -358,7 +358,7 @@ class WP_Import { } function _normalize_tag( $matches ) { - return '<' . strtolower( $match[1] ); + return '<' . strtolower( $matches[1] ); } function process_post($post) { diff --git a/wp-admin/includes/class-wp-filesystem-ftpsockets.php b/wp-admin/includes/class-wp-filesystem-ftpsockets.php index 3afa45e291..a72abaa766 100644 --- a/wp-admin/includes/class-wp-filesystem-ftpsockets.php +++ b/wp-admin/includes/class-wp-filesystem-ftpsockets.php @@ -298,13 +298,13 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base { $ret = array(); foreach ( $list as $struc ) { - if ( '.' == $struct['name'] || '..' == $struc['name'] ) + if ( '.' == $struc['name'] || '..' == $struc['name'] ) continue; if ( ! $include_hidden && '.' == $struc['name'][0] ) continue; - if ( $limit_file && $srtuc['name'] != $limit_file ) + if ( $limit_file && $struc['name'] != $limit_file ) continue; if ( 'd' == $struc['type'] ) {