I am designing a theme for wordpress, but when adding query to the url, the problem occur:
Both two situation, I use $_GET['var'] in WP->parse_request(..) in file class-wp.php:
It works when the url is like this "loscalhost/?var=123", $_GET['var'] return 123;
It does not work when the url is like this "localhost/category/test/?var=123", $_GET['var'] return null.
Can someone tell me What's wrong with this?