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:
parent
f419654041
commit
17c7533b72
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue