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();
|
||||
foreach($f as $k=>$v) {
|
||||
$v=explode(" ", trim($v));
|
||||
$this->_features[array_shift($v)]=$v;;
|
||||
$this->_features[array_shift($v)]=$v;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue