定制 automattic/jetpack-scan-page 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

automattic/jetpack-scan-page

最新稳定版本:v0.1.0

Composer 安装命令:

composer require automattic/jetpack-scan-page

包简介

Scan UI for the Jetpack plugin in wp-admin.

README 文档

README

This package hosts the wp-admin Scan UI for the Jetpack plugin. It ports Calypso's Scan dashboard (client/dashboard/sites/scan/) onto a native wp-admin page so customers see active threats, scan history, and the fix / ignore / view-details flows without leaving their site.

The package mirrors the architecture of projects/packages/activity-log/ and projects/packages/backup/: a TanStack Query data layer, a hash router, an AdminPage shell, and @wordpress/dataviews lists.

Architecture

  • src/class-jetpack-scan.php — wp-admin submenu under Jetpack (?page=jetpack-scan), asset enqueue, REST registration.
  • src/class-initial-state.phpJPSCAN_INITIAL_STATE hydration global.
  • src/class-rest-controller.phpjetpack/v4/site/scan/* bridges proxied to WPCOM via the site's Jetpack connection.
  • src/js/admin.tsxcreateHashRouter + RouterProvider.
  • src/js/shell.tsxAdminPage chrome + HeaderActionsProvider + Outlet.
  • src/js/providers.tsxQueryClient + ThemeProvider.
  • src/js/gates.tsx — connection / capabilities gates with mock-mode short-circuit.

Mock mode

Append ?jps-mock=1 to the wp-admin URL to short-circuit every gate and render the overview against fixtures. No server requests are made.

统计信息

  • 总下载量: 16
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-05-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固