158 reputation
9
bio website
location
age
visits member for 2 years, 5 months
seen yesterday

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
Sep
26
revised Get proper tag count for each post type
added 151 characters in body
Sep
26
comment Get proper tag count for each post type
Nope, not even close... I am asking for the SQL to update the count as this is an import from Drupal. That post is talking about showing the count on a post page, knowing the post-type. I'm not using a built-in function to define every post-type. I am trying to get a single query to do this automatically for all post-types as this is dynamic content and looping over each and every post-type is a little overkill.
Sep
26
asked Get proper tag count for each post type
Sep
17
comment Wordpress/Server outputting strange result
Hmmm... If you installed php-cgi prior to installing Apache, it doesn't set up Apache properly to run PHP, removing PHP entirely and reinstalling may fix your issue. Just a shot in the dark but I have heard of this happening in this case. Hopefully your host will be able to resolve it. Please update your question with the solution when it's fixed to help others that may have this in the future
Sep
10
revised Wordpress/Server outputting strange result
added 94 characters in body
Sep
10
answered Wordpress/Server outputting strange result
Sep
9
comment Wordpress/Server outputting strange result
What's the content of your error logs? What pages is this happening on? Is it all admin pages or just on posts/page edit pages? What type of environment are you running? (apache, nginx)