185 reputation
18
bio website
location
age
visits member for 1 year, 6 months
seen 2 days ago

Apr
26
comment How to properly sanitize strings without $wpdb->prepare?
Thanks. Would this also work with JOIN clauses? I have another query where depending on the fields chosen, some JOIN statements need to be added (I though adding them this way would make the search more efficient, than doing JOINs I may not even need.)
Apr
26
comment How to properly sanitize strings without $wpdb->prepare?
The problem is that my query looks like SELECT * FROM {$wpdb->posts} WHERE $val $val1 $val2 Depending on which items the person used in the advanced search, some of those variables are empty, some actually have a condition.
Apr
26
asked How to properly sanitize strings without $wpdb->prepare?
Apr
24
asked Advanced search: roles and multiple taxonomies
Mar
27
comment Why does my custom WP role need edit_posts to edit images?
This worked for me. Just a note, there is an extra ")" in the first line of code. In my case, since I'm using a plugin to show people only their own uploads, all I needed was the if statement to check it this is an attachment.
Mar
19
awarded  Commentator
Mar
19
comment Create archives by author role
Thanks, I'll give this a try.
Mar
19
accepted Create archives by author role
Mar
19
answered Create archives by author role
Mar
16
comment TwentyTwelve versioning
@bungeshea The styles aren't being loaded in header.php (like I said in my questions). They are being loaded in functions.php
Mar
12
accepted TwentyTwelve versioning
Mar
12
asked Create archives by author role
Mar
11
awarded  Editor
Mar
11
revised TwentyTwelve versioning
changed the stylesheet directory uri
Mar
11
answered TwentyTwelve versioning
Mar
11
comment TwentyTwelve versioning
It is a WordPress question, since it's most likely something done in functions.php.
Mar
11
asked TwentyTwelve versioning
Nov
15
comment get_template_directory() vs bloginfo( 'template_directory' ) vs TEMPLATEPATH
Thanks! I just wonder why WP has so many of these functions that just call another function, that we are then supposed to not use...
Nov
15
accepted get_template_directory() vs bloginfo( 'template_directory' ) vs TEMPLATEPATH
Nov
15
awarded  Student