271 reputation
13
bio website doublesharp.com
location San Francisco, CA
age
visits member for 1 year, 11 months
seen 32 mins ago

Personal Site/Blog:http://justinsilver.com

DoubleSharp Consulting: http://doublesharp.com

RovAir Mobile Wifi:http://www.rovair.com


Jun
3
comment Variable not being returned from Ajax Javascript (though javascript receives it)
that works, or if you do want to write objects to the error log
Jun
3
comment Variable not being returned from Ajax Javascript (though javascript receives it)
However you wanted to do it - I would probably use a constant in wp-config.php if I was going to hardcode it. Typically i just go wild and then search the code once I'm done and remove anything that isn't valid.
Jun
3
comment Variable not being returned from Ajax Javascript (though javascript receives it)
As a personal preference I also like to use classes for my plugins to keep the namespace cleaner and allow for shorter action/function names to keep it readable. No AJAX callbacks but it's shorter so you can see the pattern in this plugin I wrote - justin.ag/technology/wordpress/wordpress-plugins/… - with add_action() for you being like add_shortcode() in this plugin.
Jun
3
comment Variable not being returned from Ajax Javascript (though javascript receives it)
That's a personal preference - one downside is that it can be hard to clean up all of your debug statements once you are ready to move to prod. Another option would be to call your own my_debug() function and put the error_log() inside it, then control it all with a if ( $debug ) - you just have to set $debug somewhere.
Jun
2
answered Variable not being returned from Ajax Javascript (though javascript receives it)
Jun
2
answered Add link to attachment for old posts
Jun
2
comment Problem with W3 Total Cache Interfering with Cron Jobs
I've seen people use this plugin to get around the issue, but I would be concerned about missing other WP-Cron jobs as well: wordpress.org/plugins/wp-missed-schedule
Nov
17
answered Trouble with Transient API when W3TC is activated
Sep
27
awarded  Yearling
Aug
14
comment Indenting (tabbing) WP_head
So fwiw, you can use that in functions.php, however since I'm an IT consultant it wouldn't make much sense for me to just do it for you... I wouldn't want to deprive you of the learning experience :P
Apr
7
answered Javascript 2 elements dependent onclick .toggle
Apr
6
awarded  Commentator
Apr
6
answered WP Cron doesn't execute when time elapses
Apr
5
answered Issue after changing permalink structure
Apr
4
comment Thumbs and pictures not showing anymore
You already updated the WP_HOME and WP_SITEURL? If so my guess is that these are being stored as meta values with the wrong URL, but I would have to look at the theme to know for sure.
Apr
4
comment Thumbs and pictures not showing anymore
^ by "plugin" I meant "theme"
Apr
4
suggested suggested edit on preg_match() not working with post content
Apr
4
answered Select from wp_post and multiple meta_value from wp_postmeta
Apr
4
comment Thumbs and pictures not showing anymore
it looks like it's part of the "ChannelPro" plugin, according to the img src.
Apr
4
answered Thumbs and pictures not showing anymore