68 reputation
10
bio website josiahsprague.com
location Akron, OH
age 27
visits member for 2 years, 7 months
seen yesterday

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
accepted How can I set a dynamic value for post_updated_messages based on return value of post_updated?
May
25
answered How can I set a dynamic value for post_updated_messages based on return value of post_updated?
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.
May
25
awarded  Nice Question
May
22
awarded  Scholar
May
22
accepted How can I safely use $_SERVER['REQUEST_URI'] to avoid XSS?
May
22
asked How can I set a dynamic value for post_updated_messages based on return value of post_updated?
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?
Feb
10
awarded  Popular Question
Sep
5
awarded  Popular Question
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.
May
24
revised How can I safely use $_SERVER['REQUEST_URI'] to avoid XSS?
added 237 characters in body
May
24
asked How can I safely use $_SERVER['REQUEST_URI'] to avoid XSS?