modificato: danixland-covid-italy.php release_22102020-1904
authordanix <danix@danix.xyz>
Thu, 22 Oct 2020 17:04:49 +0000 (19:04 +0200)
committerdanix <danix@danix.xyz>
Thu, 22 Oct 2020 17:04:49 +0000 (19:04 +0200)
danixland-covid-italy.php

index 33b5de95df60d87679cb97d56653047adcdb75b5..a4e2bac57fd4bae650872efa43a68fe210eec724 100644 (file)
@@ -223,7 +223,7 @@ class dnxcovita_Widget extends WP_Widget {
                if ( is_numeric($value) ) {
                        $latest_content = number_format($value, 0, ',', '&dot;');
                        $diff = $value - $yesterday_data[0][$key];
-                       $diff_plusminus = (is_numeric($diff) && round($diff) > 1) ? '<span class="dnxcovita_goingup">&nearr;</span> &plus;' : '<span class="dnxcovita_goingdown">&searr;</span> &minus;';
+                       $diff_plusminus = (is_numeric($diff) && round($diff) > 1) ? '<span class="wp-exclude-emoji dnxcovita_goingup">&nearr;</span> &plus;' : '<span class="wp-exclude-emoji dnxcovita_goingdown">&searr;</span> &minus;';
                        $diff_content = $diff_plusminus . number_format($diff, 0, ',', '&dot;');
                }
                // Now we have all the values formatted so we can output the definition list