Ticket #47606: 47606.diff
File 47606.diff, 539 bytes (added by , 5 years ago) |
---|
-
src/wp-admin/includes/dashboard.php
diff --git src/wp-admin/includes/dashboard.php src/wp-admin/includes/dashboard.php index 5a917f6b11..5e90f3dfcb 100644
function wp_dashboard_site_health() { 1778 1778 $issue_counts = json_decode( $get_issues ); 1779 1779 } 1780 1780 1781 if ( ! is_object( $issue_counts ) || empty( $issue_counts ) ) {1781 if ( ! is_object( $issue_counts ) || ! get_object_vars( $issue_counts ) ) { 1782 1782 $issue_counts = (object) array( 1783 1783 'good' => 0, 1784 1784 'recommended' => 0,