68 reputation
10
bio website josiahsprague.com
location Akron, OH
age 27
visits member for 2 years, 11 months
seen Jun 11 at 17:56

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
25
comment How can I set a dynamic value for post_updated_messages based on return value of post_updated?
I guess I could maybe save the response value as a custom field on the post, and then query that in the post_updated_messages filter function, but that seems messy, it's a transitory message, it really shouldn't be stored in the database.
May
25
comment How can I set a dynamic value for post_updated_messages based on return value of post_updated?
Thanks. That would work for the messages, but I need to call the ping_other_service_and_get_confirmation() function on the post_updatedaction (and only on that action). I just need to pass the response over to the post_updated_messages filter.
Mar
19
comment Add a Meta Box for uploading a SECOND Featured Image?
Did you ever find a solution for this that doesn't require a third party plugin? I am also looking for a way to do this without a plugin, since I am trying to write my own plugin that does it.
Mar
19
comment How to add multiple featured image in meta box in post editor?
I am also looking for a way to do this without a plugin, since I am trying to write my own plugin that does it. Did you ever find a solution?
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.