Implemented a function to handle and validate user input in the main application module. This improves input reliability and prepares the codebase for future enhancements.
Replaced the local ip2region database and related PHP classes with an external API (ip.asbid.cn) for IP region lookup in functions.php. Removed the entire ip2region directory and its dependencies, simplifying maintenance and reducing local storage requirements. Updated caching logic to store API results for one month. Also updated the theme version in index.php to 1.1.
Refined the descriptions for the CMS mode and friend link options in the theme configuration form to provide clearer instructions, including specifying the required link category for friend links.