PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.10.7
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.10.7
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 +5 -7 4.0.33.10.7 View file →
@@ -11,9 +11,8 @@
11 11
12 12 namespace ThemeisleSDK\Modules;
13 13
14 14 use ThemeisleSDK\Common\Abstract_Module;
15 -use ThemeisleSDK\Loader;
16 15 use ThemeisleSDK\Product;
17 16
18 17 // Exit if accessed directly.
19 18 if ( ! defined( 'ABSPATH' ) ) {
@@ -76,13 +75,14 @@
76 75 if ( apply_filters( 'themeisle_sdk_hide_dashboard_widget', false ) ) {
77 76 return;
78 77 }
79 78 $this->product = $product;
80 - $this->dashboard_name = apply_filters( 'themeisle_sdk_dashboard_widget_name', Loader::$labels['dashboard_widget']['title'] );
79 + $this->dashboard_name = apply_filters( 'themeisle_sdk_dashboard_widget_name', 'WordPress Guides/Tutorials' );
81 80 $this->feeds = apply_filters(
82 81 'themeisle_sdk_dashboard_widget_feeds',
83 82 [
84 83 'https://themeisle.com/blog/feed',
84 + 'https://www.codeinwp.com/blog/feed',
85 85 'https://wpshout.com/feed',
86 86 ]
87 87 );
88 88 add_action( 'wp_dashboard_setup', array( &$this, 'add_widget' ) );
@@ -279,9 +279,9 @@
279 279 }
280 280 ?>
281 281 <div class="ti-dw-footer">
282 282 <span class="ti-dw-recommend-item ">
283 - <span class="ti-dw-recommend"><?php echo esc_attr( apply_filters( 'themeisle_sdk_dashboard_popular_label', sprintf( Loader::$labels['dashboard_widget']['popular'], ucwords( $type ) ) ) ); ?>
283 + <span class="ti-dw-recommend"><?php echo esc_attr( apply_filters( 'themeisle_sdk_dashboard_popular_label', sprintf( 'Popular %s', ucwords( $type ) ) ) ); ?>
284 284 : </span>
285 285 <?php
286 286 echo esc_attr(
287 287 trim(
@@ -298,11 +298,11 @@
298 298 )
299 299 );
300 300 ?>
301 301 (<a class="thickbox open-plugin-details-modal"
302 - href="<?php echo esc_url( $url . '&TB_iframe=true&width=600&height=500' ); ?>"><?php echo esc_attr( apply_filters( 'themeisle_sdk_dashboard_install_label', Loader::$labels['dashboard_widget']['install'] ) ); ?></a>)
302 + href="<?php echo esc_url( $url . '&TB_iframe=true&width=600&height=500' ); ?>"><?php echo esc_attr( apply_filters( 'themeisle_sdk_dashboard_install_label', 'Install' ) ); ?></a>)
303 303 </span>
304 - <span class="ti-dw-powered-by"><span><?php echo esc_attr( apply_filters( 'themeisle_sdk_dashboard_widget_powered_by', sprintf( Loader::$labels['dashboard_widget']['powered'], $this->product->get_friendly_name() ) ) ); ?></span></span>
304 + <span class="ti-dw-powered-by"><span><?php echo esc_attr( apply_filters( 'themeisle_sdk_dashboard_widget_powered_by', sprintf( 'Powered by %s', $this->product->get_friendly_name() ) ) ); ?></span></span>
305 305 </div>
306 306
307 307 <?php
308 308
@@ -325,9 +325,8 @@
325 325 }
326 326
327 327 if ( ! is_string( $url ) && in_array( $url, $sdk_feeds, true ) ) {
328 328 $feed->force_feed( false );
329 -
330 329 return;
331 330 }
332 331 if ( is_array( $url ) ) {
333 332 foreach ( $url as $feed_url ) {
@@ -332,9 +331,8 @@
332 331 if ( is_array( $url ) ) {
333 332 foreach ( $url as $feed_url ) {
334 333 if ( in_array( $feed_url, $sdk_feeds, true ) ) {
335 334 $feed->force_feed( false );
336 -
337 335 return;
338 336 }
339 337 }
340 338 }