89 reputation
7
bio website
location
age
visits member for 1 year, 9 months
seen Apr 2 at 18:54

Mar
21
comment Different database query in function.php using mysqli
If it's working outside wp, there must be an issue with the $dbhost,$dbuser,$dbpasswd,$dbname. Echo those to your page, before you $mysqli = new mysqli($dbhost,$dbuser,$dbpasswd,$dbname);
Feb
13
accepted What form element names break wordpress?
Feb
13
answered What form element names break wordpress?
Feb
13
comment What form element names break wordpress?
Yes, when you submit a form with an element named 'name' or 'year' or 'day', etc you'll get a 404. (maybe only sometimes) I found the answer while trying to respond to Rarst.
Feb
13
asked What form element names break wordpress?
Sep
20
accepted How to cache posts based on $_GET? Option name is too long? Options / transients
Sep
19
comment How to cache posts based on $_GET? Option name is too long? Options / transients
I am unsetting $_GET['s'] in some cases, which is why I went thru the string->array->string process. I just want to be sure I'm getting the whole querystring.
Sep
19
comment How to cache posts based on $_GET? Option name is too long? Options / transients
parse_str($_SERVER['QUERY_STRING'], $newget); ksort($newget); $str = http_build_query($newget); $name = wp_hash($str); Should normalize the array, yes?
Sep
19
asked How to cache posts based on $_GET? Option name is too long? Options / transients
Sep
9
answered Enqueue script in specific page
Sep
6
comment Make WP not format code, not insert line breaks in between tags
Yeah, but then you wind up breaking plugins, etc that rely on wpautop and wptexturize.
Sep
6
comment Make WP not format code, not insert line breaks in between tags
Same result, breaks true or false... I guess that means it's not wpautop...
Sep
6
asked Make WP not format code, not insert line breaks in between tags
Sep
5
accepted How to turn this .htaccess rule into a dynamic rule with add_rewrite_rule, et al?
Sep
5
comment How to turn this .htaccess rule into a dynamic rule with add_rewrite_rule, et al?
And then I can access those vars with $wp_query->query_vars['land'] Thanks!
Sep
5
revised How to use if($wp_query->query_vars['name'] == 'pagethatdontexist') without getting a 404? How to suppress 404
added 444 characters in body
Sep
5
asked How to turn this .htaccess rule into a dynamic rule with add_rewrite_rule, et al?
Sep
4
comment How to use if($wp_query->query_vars['name'] == 'pagethatdontexist') without getting a 404? How to suppress 404
Wul, whatever I want. I'll figure sth out from there. First I've got to get it to not 404 if we are on a url that I want.
Sep
4
asked How to use if($wp_query->query_vars['name'] == 'pagethatdontexist') without getting a 404? How to suppress 404
Aug
25
asked How to add column from other table to the search on Admin posts screen