Feature Request: Supported extension point for plugin menu items / WebView screens
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 15/100
调研方向
This is a design proposal, not a scoped change, and the payload names no files, tests or entry points. Start by settling the contract: the discovery endpoint's shape, the capability check, and how the app's My Site menu gets its items. Confirm with maintainers in the thread before writing code. Done means an agreed spec plus a first slice, such as a menu item rendered from a stubbed response.
由索引模型根据 Issue 内容生成。
描述
What problem does this address?
The app's menu exposes only built-in screens. There is no public way for a plugin to add a menu item or link to its own wp-admin page.
For example, I maintain a payment plugin whose users manage payments and reports in wp-admin. Those pages are not listed in the app's menu; users must open WP Admin and navigate the full admin menu on a phone. I have received this request from plugin users.
What is your proposed solution?
Add a supported, WebView-based way for plugins to register app menu items:
- A plugin registers a label, icon, wp-admin URL, and required capability.
- Items are exposed to the app through a standard, capability-checked REST endpoint (or another discovery mechanism you prefer).
- The app lists them in My Site and opens them in the existing authenticated WP Admin web view.
- If a site does not expose the endpoint, nothing changes for that site.
Security constraints: same-origin HTTPS URLs only, server-side capability checks, sanitized labels/icons.
The same contract should apply to WordPress-iOS.
- 主要语言
- Kotlin
- 星标
- 3.2k
- 派生
- 1.4k
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 100
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
wordpress-mobile/WordPress-Android 的其他 Issue
-
[Type] Bug Blogging Prompts
难度 2/5 1-3 小时 新手友好度 76/100
wordpress-mobile/WordPress-Android#23014 · 1 条评论 ·
维护者通常 1 天内回复
-
[Pri] Low [Type] Enhancement Good First Issue Media
难度 2/5 1-3 小时 新手友好度 72/100
wordpress-mobile/WordPress-Android#16212 · 2 条评论 ·
维护者通常 1 天内回复
-
[Type] Bug Posting/Editing
难度 1/5 1 小时以内 新手友好度 68/100
wordpress-mobile/WordPress-Android#11342 · 1 条评论 ·
维护者通常 1 天内回复
-
[Status] Stale [Type] Task Documentation
难度 2/5 1-3 小时 新手友好度 62/100
wordpress-mobile/WordPress-Android#10979 · 1 条评论 ·
维护者通常 1 天内回复
-
[Status] Stale [Type] Enhancement
难度 2/5 1-3 小时 新手友好度 64/100
wordpress-mobile/WordPress-Android#10102 · 2 条评论 ·
维护者通常 1 天内回复
查看 wordpress-mobile/WordPress-Android 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
aphtech/brailleblaster#210 ·
维护者通常 1 天内回复
-
bug registro
难度 2/5 1-3 小时 新手友好度 72/100
-
Accounts tab: row separator doesn't align with account name when account type icons are off可能已有人在做 @azimul-kabir 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 84/100
azimul-kabir/actua#1780 ·
维护者通常 1 天内回复
-
enhancement needs-triage
难度 2/5 1-3 小时 新手友好度 70/100
facebook/facebook-android-sdk#1423 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复