{"id":2033,"date":"2024-11-24T14:38:17","date_gmt":"2024-11-24T09:08:17","guid":{"rendered":"https:\/\/kolhapur.wordcamp.org\/2025\/?post_type=wcb_session&#038;p=2033"},"modified":"2025-07-27T17:24:12","modified_gmt":"2025-07-27T11:54:12","slug":"5-tips-for-creating-a-secure-wordpress-plugin","status":"publish","type":"wcb_session","link":"https:\/\/kolhapur.wordcamp.org\/2025\/session\/5-tips-for-creating-a-secure-wordpress-plugin\/","title":{"rendered":"5 Tips for creating a Secure WordPress Plugin"},"content":{"rendered":"\n<p>This topic will cover 5 basic tips for creating a secure WordPress plugin :<br>\n&#8211; CSRF protection using nonce<br>\n&#8211; XSS protection using esc_html function<br>\n&#8211; Sanitizing user input to prevent SQL injection<br>\n&#8211; Restrict unauthenticated users with current_user_can<br>\n&#8211; Data Validation<br>\n&#8211; Take immediate action when a vulnerability is reported in your plugin<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This topic will cover 5 basic tips for creating a secure WordPress plugin : &#8211; CSRF protection using nonce &#8211; XSS protection using esc_html function &#8211; Sanitizing user input to prevent SQL injection &#8211; Restrict unauthenticated users with current_user_can &#8211; Data Validation &#8211; Take immediate action when a vulnerability is reported in your plugin<\/p>\n","protected":false},"author":12652558,"featured_media":0,"template":"","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_wcpt_session_time":1736673300,"_wcpt_session_duration":600,"_wcpt_session_type":"session","_wcpt_session_slides":"https:\/\/kolhapur.wordcamp.org\/2025\/files\/2024\/11\/Speaker-Brijesh-Kothari-5-Tips-for-creating-a-Secure-WordPress-Plugin.pdf","_wcpt_session_video":"","_wcpt_speaker_id":[2032],"footnotes":""},"session_track":[71],"session_category":[75,79],"class_list":["post-2033","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-track-2-study-hall","wcb_session_category-coder","wcb_session_category-student"],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pfUzfZ-wN","session_date_time":{"date":"January 12, 2025","time":"2:45 pm"},"session_speakers":[{"id":"2032","slug":"brijesh-kothari","name":"Brijesh Kothari","link":"https:\/\/kolhapur.wordcamp.org\/2025\/speaker\/brijesh-kothari\/"}],"session_cats_rendered":"Coder, Student","_links":{"self":[{"href":"https:\/\/kolhapur.wordcamp.org\/2025\/wp-json\/wp\/v2\/sessions\/2033","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kolhapur.wordcamp.org\/2025\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/kolhapur.wordcamp.org\/2025\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":3,"href":"https:\/\/kolhapur.wordcamp.org\/2025\/wp-json\/wp\/v2\/sessions\/2033\/revisions"}],"predecessor-version":[{"id":2504,"href":"https:\/\/kolhapur.wordcamp.org\/2025\/wp-json\/wp\/v2\/sessions\/2033\/revisions\/2504"}],"speakers":[{"embeddable":true,"href":"https:\/\/kolhapur.wordcamp.org\/2025\/wp-json\/wp\/v2\/speakers\/2032"}],"author":[{"embeddable":true,"href":"https:\/\/kolhapur.wordcamp.org\/2025\/wp-json\/wporg\/v1\/users\/brijeshk89"}],"wp:attachment":[{"href":"https:\/\/kolhapur.wordcamp.org\/2025\/wp-json\/wp\/v2\/media?parent=2033"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/kolhapur.wordcamp.org\/2025\/wp-json\/wp\/v2\/session_track?post=2033"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/kolhapur.wordcamp.org\/2025\/wp-json\/wp\/v2\/session_category?post=2033"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}