Skip to content

refactor: drop the unused wp_get_user_presence() - #320

Merged
josephfusco merged 1 commit into
mainfrom
fix/319-drop-wp-get-user-presence
Aug 23, 2026
Merged

refactor: drop the unused wp_get_user_presence()#320
josephfusco merged 1 commit into
mainfrom
fix/319-drop-wp-get-user-presence

Conversation

@josephfusco

Copy link
Copy Markdown
Collaborator

Nothing in the plugin has ever called this function, so the tests were the only thing keeping it alive.

Closes #319

Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5

Used for: Assisting with the unused-function audit and the test refactor

@josephfusco josephfusco self-assigned this Aug 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props joefusco.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions

Copy link
Copy Markdown
Contributor

▶ Preview in WordPress Playground

Open in WordPress Playground

Boots a fresh WordPress with this PR's presence-api build, seeds 5 demo users, and drops you on the dashboard.

Stress-test variant: 40 demo users · Built from 239bbaec9281a00b8ad0bcca54503eb4bff1499e. Auto-updates when you push.

@josephfusco
josephfusco merged commit c29b700 into main Aug 23, 2026
17 checks passed
@josephfusco
josephfusco deleted the fix/319-drop-wp-get-user-presence branch August 23, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wp_get_user_presence() has no callers

1 participant