[Jetpack] Stas page shows code
-
Hello guys, I run a self-hosted WP installation with JetPack by WordPress.com installed. Recently I had a security breach (similar to: https://www.ads-software.com/support/topic/website-was-hacked-wordpress-not-working?replies=13). I managed to clean the site, but from that point on Site Stats doesn’t display any graphs.
The graph works fine on the Dashboard, the problem comes up when visiting the dedicated site stats page at /wp-admin/admin.php?page=stats. Instead of showing any graphs it just displays the javascript as code (text) instead. Example:
+ADw-script type+AD0AIg-text/javascript+ACIAPg /+ACo +ADwAIQBb-CDATA+AFs +ACo-/ jQuery.ajaxSetup(+AHs-cache:true+AH0)+ADs jQuery( function(+ACQ) +AHs +ACQ( '+ACM-chartswitch li a' ).click( function() +AHs +ACQ( '+ACM-stat-chart-legend' ).html( '' )+ADs +ACQ( '+ACM-stat-chart' ).html( '+ADw-img src+AD0AIg-https://s1.wp.com/i/loading/fresh-64.gif+ACI style+AD0AIg-margin-top: 70px+ADsAIg /+AD4' )+ADs if ( 'stat-human' +ACEAPQ this.id ) +ACQ( '+ACM-stat-chart' ).load( 'admin.php?page=stats&noheader&chart=flot-stats-data', +AHsAIg-page+ACI:+ACI-stats+ACI,+ACI-blog+ACI:31003777,+ACI-num+ACI:30,+ACI-unit+ACI:this.id.substring( 5 )+AH0 )+ADs +ACQ( '+ACM-chartswitch a' ).removeClass( 'active' )+ADs +ACQ( '+ACM' +ACs this.id ).addClass( 'active' )+ADs this.blur()+ADs return false+ADs +AH0)+ADs // access toggle +ACQ('+ACM-accesscontrol legend').each(function (i) +AHs +ACQ(this).click(function () +AHs +ACQ(this).parent().toggleClass('peekaboo').next().toggle()+ADs +AH0)+ADs +AH0)+ADs +AH0)+ADs /+ACo +AF0AXQA+ +ACo-/ +ADw-/script+AD4 +ADw-script type+AD0AIg-text/javascript+ACIAPg
and it goes on with lots more code…
I tried deleting/reinstalling, etc but it hadn’t been fixed.
Any ideas?
- The topic ‘[Jetpack] Stas page shows code’ is closed to new replies.