161 reputation
19
bio website
location
age
visits member for 2 years, 9 months
seen 2 days ago

Apr
2
comment AJAX requests broken due to HTTPS for wp-admin
Absolutely. It fails on wp_verify_nonce when I use HTTP to HTTPS. If I use HTTPS to HTTPS it works fine. Also, if I use HTTP to HTTP it works fine too. The issue seems to be across the protocol.
Apr
2
asked AJAX requests broken due to HTTPS for wp-admin
Mar
27
awarded  Notable Question
Feb
16
revised Passing error/warning messages from a meta box to “admin_notices”
deleted 14 characters in body
Feb
12
comment Passing error/warning messages from a meta box to “admin_notices”
-1 for using a DB. You cannot guarantee the correct user will see the error. Also, not worth the unnecessary overhead. For not having a clear cut way to handle metabox errors this is a nice work-a-round but still not efficient. I added an example of the way I do this in a new answer to help others.
Feb
12
revised Passing error/warning messages from a meta box to “admin_notices”
deleted 1 character in body
Feb
12
answered Passing error/warning messages from a meta box to “admin_notices”
Jan
7
accepted Designing a plugin that uses an iFrame to process data in admin
Jan
5
asked Designing a plugin that uses an iFrame to process data in admin
Dec
23
accepted User email not being changed (cached?) until next page load (frontend)
Dec
23
answered User email not being changed (cached?) until next page load (frontend)
Dec
23
comment User email not being changed (cached?) until next page load (frontend)
I was able to solve this by doing: ` $current_user->data->user_email = $_POST['email']; // fix for showing wrong email on save `
Dec
23
comment User email not being changed (cached?) until next page load (frontend)
Thanks for the suggestion, unfortunately this didn't change anything. Very interesting.
Dec
19
comment Get page link from slug?
I use 1 for my child pages with no issue. I really don't see the complication with it.
Dec
19
asked User email not being changed (cached?) until next page load (frontend)
Oct
21
awarded  Critic
Oct
21
comment Run WP Cron Weekly (but on a certain day)
This is actually very easy to do. Just setup a daily schedule event, then in the hook, check for the day you want to run using the DateTime object. Sure, it's not as accurate as a real cron but this is absolutely doable. Not everyone has access to a "real cron system". One issue that may rise, is if you are using the poor man's cron and no one visits your site that day. To fix this, you can check the last run time and adjust as you need.
Oct
20
comment Best Collection of Code for your functions.php file
@knotole, it is not bad practice. It is your opinion... albeit this is pretty standard.
Sep
26
comment Get proper tag count for each post type
Hmm, I did see a few trac reports but they were last year and stated fixed for some. That talks about categories (I'm dealing with tags) but I think you may be correct on this. Don't get me wrong, I appreciate your help. I just needed it to be clear for others that it's not the same. Problem with the Internet, you can't hear my tone ;)
Sep
26
revised Get proper tag count for each post type
added 46 characters in body