Open designsimply opened 10 years ago
The menu will only show the number of issues for the default check.
The default check seems to be the Undefined Function Check in my setup, is that always the default?
Why does the default check show a different number of issues on different page loads? You can see the numbers change from 1 to none in the screencast and from 8 to 9 in the first two screenshots above.
Aside: I think I linked the wrong screencast filetype before, sorry about that! Try this one instead, it's a proper size and much easier to follow: https://wptestervids.files.wordpress.com/2014/08/vip-scanner-0-7-toolbar-indicator-test.mov
I probably wasn't clear enough in my original report. Kathryn and I just double checked our setups to make sure we're seeing inconsistent numbers. First, we verified we are both using the same local setup: WP 3.9.2, VIP Scanner 0.7, and Headlines Version 1.0 By Tasko.
I see 1 or no issues in the toolbar depending on the page load, here are my screenshots:
Kathryn sees 8 or 9 issues:
In her case, the default check (which I think is the Undefined Function Check?) shows "1 Errors" in a tab on the page content area but the toolbar indicator says "9 issues" which doesn't seem to be the number of issues from the default check or any of the other scan types.
The number of issues shown in the toolbar was different in 3 different setups even though we all had the same WP, plugin, and theme versions installed on local setups. The only other differences I can think of between our setups is I'm using nginx, Kathryn's using MAMP, and Tammie was using VVV. Will that affect the scanner results?
Functionally, it seems to me like the number is wrong sometimes.
UX-wise, I would recommend removing the toolbar indicator or labeling it more clearly, i.e. "No issues (default check)" or "No issues (Undefined Function Check)." Or you could change the label to remove the count, i.e. "More Info" or "Scanner Issues."
Thanks, we'll take a look.
Steps to reproduce:
Screencast: https://videos.files.wordpress.com/qB0SWsBU/vip-scanner-0-7-toolbar-indicator-test_fmt1.ogv (Length: 2:38)
Found while testing VIP Scanner 0.7 during a theme review learnup.