51 reputation
2
bio website
location San Marcos, CA
age
visits member for 1 year, 2 months
seen Apr 11 at 14:54

Mar
26
comment Curly bracket shortcode in header.php
@s_ha_dum - apologies! Hard to keep track sometimes which sites want code and which ones don't. :)
Mar
26
comment Curly bracket shortcode in header.php
The built-in do_shortcode() parses WP style short codes so it's not going to recoginize those using the curly braces. That plugin is probably doing the parsing of the content itself.
Mar
20
comment jQuery and AJAX Not working with Select Form Element
Have you examined $_POST content to see if there's something unexpected about it? I usually just send stuff to the server error log to have a look in this sort of context. For example: error_log(var_export($_POST, true));
Dec
30
comment post meta data clearing on autosave
Technically, using a filter to perform an action like this is not the intention of the filters. A filter is intended to alter the data it has been passed and return the altered data for use in subsequent actions. An action should be used when an operation is being performed. In this case the 'save_post' or 'save_post_<post_type>' actions are appropriate. They are only called if all other operations related to saving the new post have succeeded.
Jul
26
comment How do I make a draft post accessible to everyone?
I'm perplexed about the reason as well. If you want everyone to see the post, why not simply publish the post? You could use custom fields on the post to track any special state you might desire to define.
Jun
20
comment How can I create a virtual user on WordPress
As I said, the prudent thing to do is discuss the requirement with the client and talk them out of it. Determine what problem they are attempting to solve by building a back door into their environment. It's a security risk to add it to the site. Presumably they would never know if they had been hacked using this backdoor and it would require code changes to update the password. Understand the problem the client is trying to solve and then propose more secure methods of solving it.