Author Archives: Marko

WordPress plugin Quick Poll brings voting polls to your blog or site

Today I've published my latest WordPress plugin. This time I'm bringing voting polls to your WordPress blog or site in the form of Quick Poll WordPress plugin. My goal was to create highly WordPress integrated open source plugin with all features you expect to find in such software. I've also tried to blend voting poll functionality into usual WordPress features, that's why I chose custom post type WordPress feature to implement voting polls. This way you can publish and edit voting polls in the same familiar manner as you control regular posts and pages.

Continue reading

Securing your WordPress plugin AJAX calls using nonces

AJAX Logo In my last article on this topic I wrote about proper way of implementing AJAX with jQuery in your WordPress plugins. In this article I will show you how to implementing AJAX with jQuery in your WordPress plugins in more secure way by using WordPress nonces. Cryptographic nonce is number passed during communication whose purpose is to prevent someone sniffing authenticated communication to commit replay attack

by replaying captured communication request. Nonces protect you because every request has its own unique nonce, this way both sides can detect replay attack attempts. Now lets take a look at how WordPress implements nonce security. Continue reading