51 reputation
7
bio website josiahsprague.com
location Akron, OH
age 27
visits member for 1 year, 11 months
seen Jun 17 at 12:12

I'm the Media Coordinator at Doulos Discovery School in Jarabacoa in the Dominican Republic. I do web design and development, video production and live event production, among other things.


May
27
comment How can I safely use $_SERVER['REQUEST_URI'] to avoid XSS?
So in this case, why would you recommend esc_attr on $_SERVER['REQUEST_URI']? @TheDeadMedic
May
27
comment How can I safely use $_SERVER['REQUEST_URI'] to avoid XSS?
@TheDeadMedic Why use esc_attr over esc_url?
May
26
comment How can I safely use $_SERVER['REQUEST_URI'] to avoid XSS?
@TheDeadMedic Can you explain a little bit more? Everything that I've read says that esc_attr is not for URLs.
May
26
comment How can I safely use $_SERVER['REQUEST_URI'] to avoid XSS?
@s_ha_dum The question is about esc_url() which is a WordPress specific function.
May
24
comment How can I safely use $_SERVER['REQUEST_URI'] to avoid XSS?
@s_ha_dum That doesn't really help answer the question. I have thought things through, and in this case, I do need to access the $_SERVER variables. The question is how to do so safely.
May
24
comment How can I safely use $_SERVER['REQUEST_URI'] to avoid XSS?
I'm using it to build another URL to share the current page on other sites such as twitter. So the final URL is being used in an href.
Jan
1
comment How should I structure a WP website project using git and updating from WP dashboard?
Very good points. I've got one whole site stack set up using git with submodules and it's a big pain in the ass. I guess I'm wondering if there is a less tightly controlled way to still take advantage of Git, but to also take advantage of the native updates to save myself some legwork. I'm a one man team at the moment, so I'm basically just trying to set up sites as efficiently as possible.
Aug
22
comment Why won't Wordpress on localhost find updates?
Thanks for the suggestion. I tried this and it didn't work.
Aug
19
comment Why won't Wordpress on localhost find updates?
I might try that, but given that I've been using WAMP for three years with no problems, and that I'm not even sure that this Wordpress thing has anything to do with WAMP, I'd like to explore other soultions first.
Aug
15
comment Why won't Wordpress on localhost find updates?
The .dll is there. I also checked the file permissions on the .dll, and they're fine.
Aug
14
comment Why won't Wordpress on localhost find updates?
I am using git, which is actually part of the reason I need automatic updates to work... most of the plugins I'm using don't have a git repository.
Aug
14
comment Why won't Wordpress on localhost find updates?
Interesting. I would suspect that this isn't the issue, because the updates used to work, and then just suddenly stopped. But out of curiousity I checked this out. The php.ini in my Apache directory already had curl enabled, but the one in the PHP directory wasn't, so I enabled it, but I get an error on starting WAMP; "Unable to load dynamic library... php_curl.dll ...side-by-side configuration is incorrect..."
Aug
14
comment Why won't Wordpress on localhost find updates?
Great idea! Unfortunately, I tried it and it didn't work.
Aug
13
comment Why won't Wordpress on localhost find updates?
Same exact issue with a fresh install. Must be a system configuration issue, but I don't know what.
Aug
13
comment Why won't Wordpress on localhost find updates?
I think you're onto something, but I tried this and got; Fatal error: Call to undefined function download_url() in C:\wamp\www\doulos\wp-content\themes\doulos\front-page.php on line 9
Aug
13
comment Why won't Wordpress on localhost find updates?
I temporarily disabled all of my firewalls, and it still doesn't work. Any Windows settings in regards to firewall-related issues that I could check? I ran some spy-ware removal program a few months ago that buckled down the security on my computer and it may have inadvertantly caused this issue.
Aug
13
comment Why won't Wordpress on localhost find updates?
I'm on Windows, so I'm not really sure how to follow those instructions. Can anyone give me advice on how to check the file permissions on Windows?
Jul
25
comment Why won't Wordpress on localhost find updates?
Like I said, I already checked the file permissions and they're all good.
Nov
10
comment Does the 3.4.2 Dashboard have Chrome Frame headers?
In theory, I see why this should work. Detect if Chrome Frame is installed, and if so, send the header with the command to use it. However, Chrome Frame wasn't activating in IE for me until I added a plugin to Wordpress (wordpress.org/extend/plugins/chrome-frame) It works fine with the plugin, but I thought it was supposed to work out of the box without a plugin?