From 17c7533b72f627640dca4a74d69d173ae67c90c8 Mon Sep 17 00:00:00 2001 From: westi Date: Sat, 26 Dec 2009 16:53:17 +0000 Subject: [PATCH] Swap out ;; for ;. Fixes #11618 props demetris and nacin. git-svn-id: http://svn.automattic.com/wordpress/trunk@12548 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-ftp.php | 2 +- wp-includes/link-template.php | 4 ++-- wp-includes/pomo/po.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/class-ftp.php b/wp-admin/includes/class-ftp.php index 80703a9552..1e35e74531 100644 --- a/wp-admin/includes/class-ftp.php +++ b/wp-admin/includes/class-ftp.php @@ -495,7 +495,7 @@ class ftp_base { $this->_features=array(); foreach($f as $k=>$v) { $v=explode(" ", trim($v)); - $this->_features[array_shift($v)]=$v;; + $this->_features[array_shift($v)]=$v; } return true; } diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index d0c6a4df60..4d14c26bf2 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -701,7 +701,7 @@ function get_edit_post_link( $id = 0, $context = 'display' ) { break; default : if ( !current_user_can( 'edit_post', $post->ID ) ) - return apply_filters( 'get_edit_post_link', '', $post->ID, $context );; + return apply_filters( 'get_edit_post_link', '', $post->ID, $context ); $file = 'post'; $var = 'post'; break; @@ -777,7 +777,7 @@ function get_delete_post_link($id = 0, $context = 'display') { break; default : if ( !current_user_can( 'edit_post', $post->ID ) ) - return apply_filters( 'get_delete_post_link', '', $post->ID, $context );; + return apply_filters( 'get_delete_post_link', '', $post->ID, $context ); $file = 'post'; $var = 'post'; break; diff --git a/wp-includes/pomo/po.php b/wp-includes/pomo/po.php index fb0d8e408c..558a369ed1 100644 --- a/wp-includes/pomo/po.php +++ b/wp-includes/pomo/po.php @@ -254,7 +254,7 @@ class PO extends Gettext_Translations { return false; } // add comment - $this->add_comment_to_entry($entry, $line);; + $this->add_comment_to_entry($entry, $line); } elseif (preg_match('/^msgctxt\s+(".*")/', $line, $m)) { if ($is_final($context)) { PO::read_line($f, 'put-back');