New answers tagged update-post-meta
The problem was in my way of including some classes with the spl_autoload_register() function. This leaded into some problems inside the WordPress core. Excuse me for not testing this before.
You must use enctype="multipart/form-data" in the <form> tag for the file upload to work.
There are two hooks for adding AJAX handlers, you're missing the one for non-logged in visitors. You need: add_action( 'wp_ajax_nopriv_adClickCounter', 'adClickCounter_ajax' ); ... in addition to the add_action call you currently have. Note the extra nopriv_ in the tag.
Top 50 recent answers are included