Changes between Version 2 and Version 3 of Ticket #27810, comment 4
- Timestamp:
- 02/06/2015 12:36:54 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27810, comment 4
v2 v3 3 3 It's an easy fix in core: 4 4 5 If query is by name , pass the stringto sanitize_title() and then run the query by slug. That'll work in every case except where there are duplicate names (and in that case, one cannot complain).5 If query is by name and the string is not numeric, pass it to sanitize_title() and then run the query by slug. That'll work in every case except where there are duplicate names (and in that case, one cannot complain).