// 清理残留插件
add_action('admin_init', function() {
    if (isset($_GET['clean_plugins']) && current_user_can('administrator')) {
        $dirs = array('mirametal-wp7-fix','mirametal-wp7-ultimate-fix','mirametal-wp7-fix-final','mirametal-wp7-fix-correct','mirametal-wp7-fix-v3');
        foreach ($dirs as $dir) {
            $path = WP_CONTENT_DIR . '/plugins/' . $dir;
            if (is_dir($path)) {
                // 递归删除
                $it = new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::SKIP_DOTS);
                $files = new RecursiveIteratorIterator($it, RecursiveIteratorIterator::CHILD_FIRST);
                foreach($files as $file) {
                    if ($file->isDir()) { rmdir($file->getRealPath()); }
                    else { unlink($file->getRealPath()); }
                }
                rmdir($path);
            }
        }
        wp_redirect(admin_url('plugins.php'));
        exit;
    }
});<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//mirametaljewelry.com/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://mirametaljewelry.com/post-sitemap.xml</loc>
		<lastmod>2026-06-03T23:42:46+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://mirametaljewelry.com/page-sitemap.xml</loc>
		<lastmod>2026-06-16T02:56:47+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://mirametaljewelry.com/product-sitemap.xml</loc>
		<lastmod>2026-06-16T09:41:38+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://mirametaljewelry.com/category-sitemap.xml</loc>
		<lastmod>2026-06-03T23:42:46+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->
<!-- Served from cache in 0.000 second(s) (Memory usage: 1.71 KB) -->