=== Easy Set Favicon === Contributors: eftakhairul, salayhin Donate link: Tags: favicon, icon, easy, plugin, image, png, svg Requires at least: 6.0 Tested up to: 6.7 Requires PHP: 8.0 Stable tag: 2.0.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Set the favicon for your WordPress site by simply entering a URL. == Description == Set the favicon for your WordPress site by simply entering a URL. The favicon appears in browser tabs and bookmarks. = Features = * Simple and easy to use. * Supports any image format: ICO, PNG, SVG, JPG, and more. * Works with URLs from your media library or any external source. * Favicon is applied to both the front-end and the WordPress admin area. = Author = Brought to you by [Md. Eftakhairul Islam](https://eftakhairul.com) & [Sirajus Salayhin](https://salayhin.wordpress.com) = Contribute = This plugin is open source. Contributions are welcome via [GitHub](https://github.com/eftakhairul/Set-Fav-Icon). == Installation == 1. Upload and activate the plugin through the WordPress 'Plugins' menu. 2. Go to the 'Set Favicon URL' menu item in the WordPress admin. 3. Enter the full URL of your favicon image and click "Save Changes". == Frequently Asked Questions == = Can I use an image from the media library? = Yes. Upload an image via the media library, copy the URL, and paste it into the Favicon URL field. = Can I use an image from another website? = Yes. Any valid, publicly accessible image URL is supported. = What image formats are supported? = ICO, PNG, SVG, JPG, and other browser-supported image formats. == Screenshots == 1. Click the 'Set Favicon URL' menu item in the admin sidebar. 2. Enter a favicon URL and click "Save Changes". == Changelog == = 2.0.0 = * Modernized for WordPress 6.x and PHP 8.x. * Migrated storage from a custom database table to the WordPress Options API. * Replaced manual SQL with the Settings API for secure, nonce-verified form handling. * Added proper capability check (`manage_options`) before saving settings. * Sanitized input with `esc_url_raw()` and escaped output with `esc_url()`. * Added `uninstall.php` to cleanly remove plugin data on deletion. * Automatic migration of favicon URL from legacy database table on upgrade. = 1.0 = Initial version released. == Upgrade Notice == = 2.0.0 = Major rewrite with security fixes and modernized code. Existing favicon settings are automatically migrated on activation.