From 5c23d013d7bcd29ed8daea040019f7bf1b277713 Mon Sep 17 00:00:00 2001 From: Peter Fabian Date: Wed, 5 Feb 2020 21:54:05 +0100 Subject: [PATCH] Added info about packages to System Status Report. --- .../views/html-admin-page-status-report.php | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/includes/admin/views/html-admin-page-status-report.php b/includes/admin/views/html-admin-page-status-report.php index 729882eab2f..3087cf567d8 100644 --- a/includes/admin/views/html-admin-page-status-report.php +++ b/includes/admin/views/html-admin-page-status-report.php @@ -82,6 +82,66 @@ $untested_plugins = $plugin_updates->get_untested_plugins( WC()->version, 'min ?> + + : + + + ' . esc_html( $version ) . ' ' . esc_html( $path ) . ' '; + } else { + echo ' ' . esc_html__( 'Unable to detect the Blocks package.', 'woocommerce' ) . ''; + } + ?> + + + + : + + + latest_version(); + $path = ActionScheduler::plugin_path( '' ); + } else { + $version = null; + } + + if ( ! is_null( $version ) ) { + echo ' ' . esc_html( $version ) . ' ' . esc_html( $path ) . ' '; + } else { + echo ' ' . esc_html__( 'Unable to detect the Action Scheduler package.', 'woocommerce' ) . ''; + } + ?> + + + + : + + + ' . esc_html( $version ) . ' ' . esc_html( $path ) . ' '; + } else { + echo ' ' . esc_html__( 'Unable to detect the WC Admin package.', 'woocommerce' ) . ''; + } + ?> + + :