20,737 reputation
251103
bio website monkeyman.be
location Belgium
age 30
visits member for 5 years
seen 2 hours ago

I used to be a PHP developer, but it has been years now since I did some serious work with it. So while my existing answers might be useful, I don't think I can provide insightful updates on them anymore.

In addition to the standard Creative Commons license of this site, I give permission to use all my contributions under the GPL license (version 2). Feel free to re-use it in plugins, themes, or in the Codex.


Dec
10
awarded  Revival
Sep
25
awarded  plugins
Sep
22
awarded  Enlightened
Sep
22
awarded  Nice Answer
Sep
11
awarded  Booster
Aug
17
awarded  permalinks
Aug
13
comment How do you create a “virtual” page in WordPress
@Jules: When you include a file, it gets executed in the current scope. In this case, it is the wpse9870_parse_request function, which only has the $wp parameter. It's possible that the global $wp_query object hasn't been set at this time, so get_query_var() will not work. However, you are lucky: $wp is the class that contains the query_vars member that you need - I use it myself in the above code.
Aug
11
awarded  Yearling
Aug
9
comment Force category choice before creating new post?
@Rarst: I think so yes - it's been a while :-)
Jul
31
awarded  Enlightened
Jul
31
awarded  Nice Answer
Jul
25
awarded  Nice Answer
Jul
15
awarded  Nice Answer
Jun
10
awarded  Good Answer
Jun
8
comment Last time a user logged in
@whitelettersandblankspaces: The hook still exists and is not marked as deprecated, so I have no reason to assume this would not work anymore.
Jun
6
awarded  Enlightened
Jun
6
awarded  Nice Answer
Jun
3
awarded  Good Answer
May
17
awarded  Enlightened
May
17
awarded  Nice Answer