WPIntell

Source evidence

hide Archived sites?

Plugin Activation Status · support · 2018-05-16T20:53:00+00:00

mixedsentiment
highseverity
0.77relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 35 rows with source links

14.3% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

30 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Frutke resolved
How can I tweak this plugin to hide Archived sites in the generated report? Is it as simple as editing line 487 of class-plugin-activation-status.php with something like this (within the get_blogs() function)? return $wpdb->get_col( "SELECT blog_id FROM {$wpdb->blogs} WHERE archived <> 1 ORDER BY blog_id" ); I’ve just Archived around 5600 sites on my multisite. I suspect that many of those sites were the only ones using several (now abandoned) plugins. I went a bit further and specifically excluded Spam, Deleted and Archived sites. Seems to work just fine. return $wpdb->get_col( "SELECT blog_id FROM {$wpdb->blogs} WHERE spam <> 1 AND deleted <> 1 AND archived <> 1 ORDER BY blog_id" );

Comments

1 shown
Frutke 2018-06-25T15:52:00+00:00

I went a bit further and specifically excluded Spam, Deleted and Archived sites. Seems to work just fine. return $wpdb->get_col( "SELECT blog_id FROM {$wpdb->blogs} WHERE spam <> 1 AND deleted <> 1 AND archived <> 1 ORDER BY blog_id" );