{"id":17388,"date":"2012-03-19T07:33:48","date_gmt":"2012-03-19T07:33:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/featured-image\/"},"modified":"2025-11-08T08:43:14","modified_gmt":"2025-11-08T08:43:14","slug":"featured-image","status":"publish","type":"plugin","link":"https:\/\/fi.wordpress.org\/plugins\/featured-image\/","author":8188417,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.2","stable_tag":"2.2","tested":"6.8.5","requires":"3.0","requires_php":"","requires_plugins":null,"header_name":"Featured Image","header_author":"Mervin Praison","header_description":"","assets_banners_color":"504241","last_updated":"2025-11-08 08:43:14","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/mer.vin","header_plugin_uri":"https:\/\/mer.vin\/wordpress-featured-image","header_author_uri":"https:\/\/mer.vin\/","rating":4.4,"author_block_rating":0,"active_installs":1000,"downloads":67698,"num_ratings":8,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"mervinpraison","date":"2014-04-08 13:23:54"},"2.0":{"tag":"2.0","author":"mervinpraison","date":"2014-04-08 13:23:54"},"2.2":{"tag":"2.2","author":"mervinpraison","date":"2025-11-08 08:43:14"}},"upgrade_notice":{"2.2":"<p>CRITICAL SECURITY UPDATE: Fixes XSS vulnerability (CVE-2025-12019). Please update immediately.<\/p>","2.1":"<p>Minor global $post fix<\/p>","1.0":"<p>Created the shortcode, widget and the php code<\/p>"},"ratings":{"1":"1","2":0,"3":0,"4":"1","5":"6"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":889403,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","2.0","2.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3392103,"resolution":"1","location":"plugin"}},"screenshots":{"1":"Featured Image area"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1795,133,186,80,162],"plugin_category":[43,50,55],"plugin_contributors":[79214],"plugin_business_model":[],"class_list":["post-17388","plugin","type-plugin","status-publish","hentry","plugin_tags-featured-image","plugin_tags-image","plugin_tags-seo","plugin_tags-shortcode","plugin_tags-widget","plugin_category-customization","plugin_category-media","plugin_category-seo-and-marketing","plugin_contributors-mervinpraison","plugin_committers-mervinpraison"],"banners":{"banner":"https:\/\/ps.w.org\/featured-image\/assets\/banner-772x250.png?rev=889403","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/featured-image_504241.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/featured-image\/trunk\/screenshot-1.png?rev=3392103","caption":"Featured Image area"}],"raw_content":"<!--section=description-->\n<p>Add featured image to any part of the website, on each individual post\/page. Very Easy to Implement. Provides you with a featured image shortcode [ featured-img ] , code and Featured Image widget.<\/p>\n\n<p>Paste the Code or the Shortcode on any part of the website.<\/p>\n\n<ul>\n<li>Very Easy to implement.<\/li>\n<li>Simple Shortcode Available<\/li>\n<li>Easy code Implementation inside loop and outside loop.<\/li>\n<li>Widge Avaliable<\/li>\n<li>Featured Image Caption<\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/mer.vin\/wordpress-featured-image\">Wordpress Featured Image<\/a> Documentation By <a href=\"https:\/\/mer.vin\/\">Mervin<\/a> Praison\n<a href=\"https:\/\/seomanageruk.com\">SEO Manager<\/a><\/p>\n\n<h3>Version history<\/h3>\n\n<h4>version 2.2<\/h4>\n\n<ul>\n<li>Security: Fixed Stored Cross-Site Scripting (XSS) vulnerability (CVE-2025-12019)<\/li>\n<li>Fixed: Added missing global $post in caption function<\/li>\n<li>Improved: Enhanced security with proper output escaping<\/li>\n<\/ul>\n\n<h4>version 2.1<\/h4>\n\n<ul>\n<li>global $post fix<\/li>\n<\/ul>\n\n<h4>Version 2.0<\/h4>\n\n<ul>\n<li>Added Featured Image Caption<\/li>\n<li>Added Alt Text for images<\/li>\n<li>Fixed Bugs<\/li>\n<\/ul>\n\n<h4>Version 1.0<\/h4>\n\n<ul>\n<li>Initial release version.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>Step 1<\/h4>\n\n<ol>\n<li>Download the zip file<\/li>\n<li>Extract the contents<\/li>\n<li>Upload the folder <code>featured-image<\/code> to your WP plugin folder <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Go to Plugins &gt; Plugins, and activate the plugin<\/li>\n<\/ol>\n\n<h4>Step 2<\/h4>\n\n<ul>\n<li>Use this shortcode '[featured-img]' on your page\/post content.<\/li>\n<li>Use this shortcode '[featured-img-caption]' on your page\/post content for caption<\/li>\n<li>Use this Code on your template inside loop: <\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20is%20its%20shortcode%3F'><h3>What is its Shortcode?<\/h3><\/dt>\n<dd><p>[featured-img]<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>version 2.2<\/h4>\n\n<ul>\n<li>Security: Fixed Stored Cross-Site Scripting (XSS) vulnerability in image alt text and URLs (CVE-2025-12019)<\/li>\n<li>Security: Added proper output escaping using esc_url() and esc_attr()<\/li>\n<li>Security: Added wp_kses_post() sanitization for caption output<\/li>\n<li>Fixed: Added missing global $post declaration in caption function<\/li>\n<li>Fixed: Improved error handling in caption function<\/li>\n<li>Improved: Code formatting and WordPress coding standards compliance<\/li>\n<\/ul>\n\n<h4>version 2.1<\/h4>\n\n<ul>\n<li>global $post fix<\/li>\n<\/ul>\n\n<h4>Version 2.0<\/h4>\n\n<ul>\n<li>Added Featured Image Caption<\/li>\n<li>Added Alt Text for images<\/li>\n<li>Fixed Bugs<\/li>\n<\/ul>\n\n<h4>Version 1.0<\/h4>\n\n<ul>\n<li><p>First release.= 2.2 =<\/p><\/li>\n<li><p>Security: Fixed Stored Cross-Site Scripting (XSS) vulnerability in image metadata (CVE-2025-12019)<\/p><\/li>\n<li>Security: Added esc_url() for image URLs<\/li>\n<li>Security: Added esc_attr() for alt text attributes<\/li>\n<li>Security: Added wp_kses_post() for caption sanitization<\/li>\n<li>Fixed: Missing global $post declaration in getting_featured_img_caption()<\/li>\n<li>Fixed: Improved error handling to prevent PHP warnings<\/li>\n<li>Improved: Code refactored to use sprintf() for better readability<\/li>\n<li>Improved: WordPress coding standards compliance<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>global $post fix<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Added Featured Image Caption<\/li>\n<li>Fixed Bugs<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Shortcode was created<\/li>\n<li>Code inside loop of the template<\/li>\n<li>Widget was created<\/li>\n<\/ul>","raw_excerpt":"Add featured image to any part of the website, on each individual post\/page. Very Easy to Implement. Shortcode and widget available.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/17388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=17388"}],"author":[{"embeddable":true,"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mervinpraison"}],"wp:attachment":[{"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=17388"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=17388"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=17388"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=17388"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=17388"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=17388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}