diff --git a/src/Admin/DashboardWidgets.php b/src/Admin/DashboardWidgets.php index cb3e04d4..e8b5c593 100644 --- a/src/Admin/DashboardWidgets.php +++ b/src/Admin/DashboardWidgets.php @@ -69,7 +69,7 @@ public static function add_dashboard_count( $items = array() ) { * @since 2.4 */ private static function get_spam_count() { - $count = Settings::get_option( 'spam_count', '' ); + $count = intval( Settings::get_option( 'spam_count' ) ); return ( get_locale() === 'de_DE' ? number_format( $count, 0, '', '.' ) : number_format_i18n( $count ) ); }