PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.9.2
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.9.2
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 All 149 releases
← All changes | vendor/codeinwp/themeisle-sdk/src/Modules/Dashboard_widget.php +1 -4 3.10.33.9.2 View file →
@@ -80,10 +80,8 @@
80 80 $this->feeds = apply_filters(
81 81 'themeisle_sdk_dashboard_widget_feeds',
82 82 [
83 83 'https://themeisle.com/blog/feed',
84 - 'https://www.codeinwp.com/blog/feed',
85 - 'https://wpshout.com/feed',
86 84 ]
87 85 );
88 86 add_action( 'wp_dashboard_setup', array( &$this, 'add_widget' ) );
89 87 add_action( 'wp_network_dashboard_setup', array( &$this, 'add_widget' ) );
@@ -320,10 +318,9 @@
320 318 return;
321 319 }
322 320
323 321 $items = $feed->get_items( 0, 5 );
324 - $items = is_array( $items ) ? $items : [];
325 - foreach ( $items as $item ) {
322 + foreach ( (array) $items as $item ) {
326 323 $items_normalized[] = array(
327 324 'title' => $item->get_title(),
328 325 'date' => $item->get_date( 'U' ),
329 326 'link' => $item->get_permalink(),