From 0d9eab7007cccd84d5274640eab17d860050eaba Mon Sep 17 00:00:00 2001 From: arthur791004 Date: Fri, 11 Oct 2024 22:46:34 +0900 Subject: [PATCH] Site Management Widget: Remove unused files (#39743) * Site Management Widget: Remove unused files * changelog --- .../feat-dashboard-widget-react-follow-up | 4 + .../class-wpcom-site-management-widget.php | 249 ------------------ 2 files changed, 4 insertions(+), 249 deletions(-) create mode 100644 projects/packages/jetpack-mu-wpcom/changelog/feat-dashboard-widget-react-follow-up delete mode 100644 projects/packages/jetpack-mu-wpcom/src/features/wpcom-site-management-widget/class-wpcom-site-management-widget.php diff --git a/projects/packages/jetpack-mu-wpcom/changelog/feat-dashboard-widget-react-follow-up b/projects/packages/jetpack-mu-wpcom/changelog/feat-dashboard-widget-react-follow-up new file mode 100644 index 0000000000000..341f6e87f74d9 --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/changelog/feat-dashboard-widget-react-follow-up @@ -0,0 +1,4 @@ +Significance: minor +Type: deprecated + +Site Management Widget: Clean up unused files diff --git a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-site-management-widget/class-wpcom-site-management-widget.php b/projects/packages/jetpack-mu-wpcom/src/features/wpcom-site-management-widget/class-wpcom-site-management-widget.php deleted file mode 100644 index 9993a1de0b2e8..0000000000000 --- a/projects/packages/jetpack-mu-wpcom/src/features/wpcom-site-management-widget/class-wpcom-site-management-widget.php +++ /dev/null @@ -1,249 +0,0 @@ - - - -
-
-
-
-
- render_wpcom_site_management_widget_fav_icon(); ?> -
-
-
-
-
-
- "> - - -
-
-
-

-
-
-
-
    - __( 'Deployments', 'jetpack-mu-wpcom' ), - 'href' => "/github-deployments/$domain", - ), - array( - 'name' => __( 'Monitoring', 'jetpack-mu-wpcom' ), - 'href' => "/site-monitoring/$domain", - ), - array( - 'name' => __( 'Logs', 'jetpack-mu-wpcom' ), - 'href' => "/site-logs/$domain/php", - ), - array( - 'name' => __( 'Staging Site', 'jetpack-mu-wpcom' ), - 'href' => "/staging-site/$domain", - ), - array( - 'name' => __( 'Server Settings', 'jetpack-mu-wpcom' ), - 'href' => "/hosting-config/$domain", - ), - ); - foreach ( $dev_tools_items as $item ) { - printf( '
  • %2$s
  • ', esc_url( $item['href'] ), esc_html( $item['name'] ) ); - } - ?> -
-
-
-
-
- ', esc_url( $site_icon_url ) ); - } else { - printf( '%1$s', esc_html( mb_substr( get_bloginfo( 'name' ), 0, 1 ) ) ); - } - } -} - -WPCOM_Site_Management_Widget::get_instance();