Swap out ;; for ;. Fixes #11618 props demetris and nacin.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2009-12-26 16:53:17 +00:00
parent f419654041
commit 17c7533b72
3 changed files with 4 additions and 4 deletions

View File

@ -495,7 +495,7 @@ class ftp_base {
$this->_features=array(); $this->_features=array();
foreach($f as $k=>$v) { foreach($f as $k=>$v) {
$v=explode(" ", trim($v)); $v=explode(" ", trim($v));
$this->_features[array_shift($v)]=$v;; $this->_features[array_shift($v)]=$v;
} }
return true; return true;
} }

View File

@ -701,7 +701,7 @@ function get_edit_post_link( $id = 0, $context = 'display' ) {
break; break;
default : default :
if ( !current_user_can( 'edit_post', $post->ID ) ) 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'; $file = 'post';
$var = 'post'; $var = 'post';
break; break;
@ -777,7 +777,7 @@ function get_delete_post_link($id = 0, $context = 'display') {
break; break;
default : default :
if ( !current_user_can( 'edit_post', $post->ID ) ) 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'; $file = 'post';
$var = 'post'; $var = 'post';
break; break;

View File

@ -254,7 +254,7 @@ class PO extends Gettext_Translations {
return false; return false;
} }
// add comment // add comment
$this->add_comment_to_entry($entry, $line);; $this->add_comment_to_entry($entry, $line);
} elseif (preg_match('/^msgctxt\s+(".*")/', $line, $m)) { } elseif (preg_match('/^msgctxt\s+(".*")/', $line, $m)) {
if ($is_final($context)) { if ($is_final($context)) {
PO::read_line($f, 'put-back'); PO::read_line($f, 'put-back');