Skip to content

Fix: ErrorException when user list has been limitated - #694

Merged
lloc merged 1 commit into
masterfrom
dev/feature/version-3.0.2
Aug 24, 2026
Merged

Fix: ErrorException when user list has been limitated#694
lloc merged 1 commit into
masterfrom
dev/feature/version-3.0.2

Conversation

@lloc

@lloc lloc commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Release 3.0.2 fixes the "Reference user" dropdown on blogs with many users. Opening the settings page used to raise a PHP notice through trigger_error() whenever the blog had more users than the dropdown lists, which polluted the error log and error-tracking services such as Sentry.

MSLS now detects the truncation from the user query itself by asking for one row more than it displays, and reports the limit as a plain hint below the dropdown instead of as a notice. That also removes the count_users() call, a costly query on large blogs, from the settings page entirely.

These changes fix the issue #693.

@github-actions

Copy link
Copy Markdown

✅ WordPress Plugin Check Report

✅ Status: Passed

📊 Report

All checks passed! No errors or warnings found.


🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check

@lloc
lloc merged commit 9b27907 into master Aug 24, 2026
7 checks passed
@lloc
lloc deleted the dev/feature/version-3.0.2 branch August 24, 2026 12:52
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.

1 participant