I have just created my first WordPress plugin:
NG Primary Category WordPress plugin
It allows the definition of one primary category per post that is used to generate the post permalink.
Since my PHP/Web Security knowledge is limited I would appreciate very much any feedback on any security related issues I might have overlooked.
Of course any other feedback is welcomed as well