PluginProbe
FeedWordPress / 2024.0428
FeedWordPress v2024.0428
trunk 0.8 0.9 0.91 0.95 0.96 0.97 0.98 0.981 0.99 0.991 0.992 0.993 2008.1030 2008.1101 2008.1105 2008.1214 2009.0612 2009.0613 2009.0618 2009.0707 2009.1111 2009.1112 2010.0127 2010.0528 All 65 releases
← All changes | feedwordpressdiagnostic.class.php +1 -5 trunk2024.0428 View file →
@@ -119,12 +119,8 @@
119 119 } /* FeedWordPressDiagnostic::critical_bug () */
120 120
121 121 public static function is_on ($level) {
122 122 $show = get_option('feedwordpress_diagnostics_show', array());
123 - if ( ! is_array( $show ) ) {
124 - $show = array( $show );
125 - }
126 -
127 - return ( in_array( $level, $show ) );
123 + return (in_array($level, $show));
128 124 } /* FeedWordPressDiagnostic::is_on () */
129 125
130 126 } /* class FeedWordPressDiagnostic */