-
Notifications
You must be signed in to change notification settings - Fork 26
Add Network Admin row actions for presence-api #485
Copy link
Copy link
Closed
Labels
Good First IssueIssue particularly suitable to be worked on by new contributorsIssue particularly suitable to be worked on by new contributors[Area] Admin UIIssues for the admin UI integrationsIssues for the admin UI integrations[Area] MultisiteNetwork-wide presence, aggregation, and Network Admin surfacesNetwork-wide presence, aggregation, and Network Admin surfaces[Type] EnhancementA suggestion for improvement of an existing featureA suggestion for improvement of an existing featurephpPull requests that update php codePull requests that update php code
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
Good First IssueIssue particularly suitable to be worked on by new contributorsIssue particularly suitable to be worked on by new contributors[Area] Admin UIIssues for the admin UI integrationsIssues for the admin UI integrations[Area] MultisiteNetwork-wide presence, aggregation, and Network Admin surfacesNetwork-wide presence, aggregation, and Network Admin surfaces[Type] EnhancementA suggestion for improvement of an existing featureA suggestion for improvement of an existing featurephpPull requests that update php codePull requests that update php code
wp_presence_plugin_action_links()only registersplugin_action_links_{file}, notnetwork_admin_plugin_action_links_{file}, so a network-activated install shows no presence-api links on the Network Admin Plugins screen at all.No test file covers this yet.
tests/test-plugin-action-links.phpis the model to follow for the single-site link: one test per link asserting its href and label, plus one confirming the filter is registered for this plugin's file.Tasks
network_admin_plugin_action_links_+plugin_basename( __FILE__ )network/users.php?presence_status=online)network/settings.php)tests/test-network-plugin-action-links.php, covering both links and the filter registrationTest
npx wp-env start, network-activate the plugin, and check its row onwp-admin/network/plugins.phpfor both links.Part of #483.
Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Sonnet 5
Used for: Assisting with splitting #483 into a scoped sub-issue.