Add Page number to Meta Description in WordPress SEO by Yoast

The code below is from WordPress SEO plugin by Yoast. I am trying to add the page number to the Meta description on paginated posts (to avoid duplication issues with Google). function metadesc( $echo = true ) { if ( get_query_var('paged') && get_query_var('paged') > 1 ) return; global $post, $wp_query, $page; $options = get_wpseo_options(); $metadesc … Read more

Developing a secure front end posting form

I want to add a front end posting functionality to one of my WordPress sites. For more control and for more understanding of how this works (I am not a professional programmer) I choosed to use as a base for future development a solution from the wpkb.com site (see the bellow code). This solution works, but the question is how it is protected against security issues/malicious attacks?