feat(links): move friend links to native WordPress links with review flow

- enable the native Links manager and drop the custom friend-link option/REST path
- add per-page link settings for the friends template
- render link categories from get_bookmarks() with search and page-content options
- add a validated public link submission endpoint with logo upload, captcha, rate limiting and duplicate checks
- create pending links for review and notify administrators by email and in-app message
- add native Links admin pending count, columns and edit notes
- cover the new submission and cleanup contracts

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kate522andClaude Opus 5 committed 2026-11-05 19:54:33 +08:00
1 parent ef7b5939ba
commit 4c562428b4
24 files changed
+792 -273

No files matched your search

+9
View File
@@ -130,6 +130,15 @@ if (class_exists('\Jio\Admin\NavMenuOptions')) {
if (class_exists('\Jio\Admin\PageConfigMetaBox')) {
\Jio\Admin\PageConfigMetaBox::init();
}
if (class_exists('\Jio\Admin\PageLinksMetaBox')) {
\Jio\Admin\PageLinksMetaBox::init();
}
if (class_exists('\Jio\Admin\LinkManager')) {
\Jio\Admin\LinkManager::init();
}
if (class_exists('\Jio\Core\LinksSubmission')) {
\Jio\Core\LinksSubmission::init();
}
\Jio\Auth\OAuth::get_instance()->init();
if (class_exists('\Jio\Auth\WeixinGzh')) {
\Jio\Auth\WeixinGzh::get_instance()->init();