summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/custom-css/csstidy/class.csstidy.php')
-rw-r--r--plugins/jetpack/modules/custom-css/csstidy/class.csstidy.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/jetpack/modules/custom-css/csstidy/class.csstidy.php b/plugins/jetpack/modules/custom-css/csstidy/class.csstidy.php
index 74afd99d..e92669da 100644
--- a/plugins/jetpack/modules/custom-css/csstidy/class.csstidy.php
+++ b/plugins/jetpack/modules/custom-css/csstidy/class.csstidy.php
@@ -855,7 +855,7 @@ class csstidy {
$this->str_char[] = $string{$i} == "(" ? ")" : $string{$i};
$this->from[] = 'instr';
$this->quoted_string[] = !($string{$i} === "(");
- continue;
+ continue 2;
}
if ($_str_char !== ")" && ($string{$i} === "\n" || $string{$i} === "\r") && !($string{$i - 1} === '\\' && !csstidy::escaped($string, $i - 1))) {
@@ -1027,7 +1027,7 @@ class csstidy {
return $media;
}
end($this->css);
- list($at,) = each($this->css);
+ $at = current( $this->css );
if ($at == $media){
return $media;
}
@@ -1066,7 +1066,7 @@ class csstidy {
// if last is the same, keep it
end($this->css[$media]);
- list($sel,) = each($this->css[$media]);
+ $sel = current( $this->css[$media] );
if ($sel == $selector){
return $selector;
}