parse_request function bug
-
Hi all i don’t know it’s bug or not but it so annoying for me,
Let’s say we have url slug like this
personal-loan/partners/gdf/gdf-personal-loan-test
and in the database we have post with post_name called
personal-loan-1
Querying to DB will be good but will problem on query_var.. because in parse_request function you have code to replacing all request with original_url (from column post_name)
so for the current version the output will be like this
personal-loan-1/partners/gdf/gdf-personal-loan-1-test
but what i expected is something like this
personal-loan-1/partners/gdf/gdf-personal-loan-test
so my opinion is it will be good just replace when the value are exactly same
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘parse_request function bug’ is closed to new replies.