PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 6.3.0
Defender Security – Malware Scanner, Login Security & Firewall v6.3.0
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
← All changes | src/component/audit/class-post-audit.php +2 -1 5.3.1 → 6.3.0 View file →
@@ -25,9 +25,10 @@
25 25 * @since 3.9.0
26 26 */
27 27 protected function exclude_events() {
28 28 // Share excluded post types, e.g. from Hummingbird.
29 - $public_events = (array) apply_filters( 'wd_audit_excluded_post_types', array( 'wphb_minify_group' ) );
29 + $public_events = apply_filters( 'wd_audit_excluded_post_types', array( 'wphb_minify_group' ) );
30 + $public_events = is_array( $public_events ) ? $public_events : (array) $public_events;
30 31 $excluded_post_types = array(
31 32 // From Defender.
32 33 'wdscan_result',
33 34 'wdf_scan',