Opened 5 years ago
Closed 5 years ago
#4777 closed defect (bug) (fixed)
Bug in your forum search function
Reported by: | donmck2017 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Support Forums | Keywords: | |
Cc: |
Description
Hi all,
Having quite a job getting a contact point for this problem. I am a customer, not a developer. Just want the search function to work on my developers forum.
there is a bug in your search function and this is explained at:
https://wordpress.org/support/topic/search-bug-in-your-wp-org-forum/#new-topic-0
Search is mixing up double and single quotes. Hope this can be fixed.
thanks
Cheers Don...
Message from the developer :
It seems to be very strange. actually, it is not in our control. When we search “listings”, the following is put into google
listing+intext:”Plugin:+Advanced+Classifieds+&+Directory+Pro”
And there is no result. But strangely, if we replace the double quotes with single quotes, it’s working.
listing+intext:’Plugin:+Advanced+Classifieds+&+Directory+Pro’
Attachments (2)
Change History (8)
#1
@
5 years ago
- Milestone Improved Search deleted
- Resolution set to invalid
- Status changed from assigned to closed
#2
@
5 years ago
- Component changed from General to Support Forums
- Resolution invalid deleted
- Status changed from closed to reopened
Double quotes are correct, but the actual value in the search input is listing+intext:"Plugin:+Advanced+Classifieds+&+Directory+Pro"
while it should be listing intext:"Plugin: Advanced Classifieds & Directory Pro"
. Looks like a URL decode/encode issue. The tabs on this specific search are also missing
No, actually, double quotes is correct. If you use single quotes, then the intext: part doesn't work because Google expects double quotes there. Using single quotes will give you more results, but won't restrict it to the pages we're trying to have it restricted to there.