
<!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: pinterest.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php
/**
 * Pinterest embeds
 *
 * Based on &quot;Board Widget&quot; example here: http://business.pinterest.com/widget-builder/#code
 *
 * Example URL: https://pinterest.com/pin/129056345550241149/
 * Second Example URL: https://uk.pinterest.com/annsawesomepins/travel/
 *
 * @package automattic/jetpack
 */

wp_embed_register_handler(
	&#039;pinterest&#039;,
	&#039;#&#039;
	. &#039;https?://&#039;
	. &#039;(?:www\.)?&#039;
	. &#039;(?:[a-z]{2}\.)?&#039;
	. &#039;pinterest\.[a-z.]+/&#039;
	. &#039;([^/]+)&#039;
	. &#039;(/[^/]+)?&#039;
	. &#039;#&#039;,
	&#039;pinterest_embed_handler&#039;
);

/**
 * Callback to modify output of embedded Pinterest posts.
 *
 * @param array $matches Regex partial matches against the URL passed.
 * @param array $attr    Attributes received in embed response.
 * @param array $url     Requested URL to be embedded.
 */
function pinterest_embed_handler( $matches, $attr, $url ) {
	// Pinterest&#039;s JS handles making the embed.
	$script_src = &#039;//assets.pinterest.com/js/pinit.js&#039;;

	wp_enqueue_script( &#039;pinterest-embed&#039;, $script_src, array(), JETPACK__VERSION, true );

	$path = wp_parse_url( $url, PHP_URL_PATH );
	if ( str_starts_with( $path, &#039;/pin/&#039; ) ) {
		$embed_type = &#039;embedPin&#039;;
	} elseif ( preg_match( &#039;#^/([^/]+)/?$#&#039;, $path ) ) {
		$embed_type = &#039;embedUser&#039;;
	} elseif ( preg_match( &#039;#^/([^/]+)/([^/]+)/?$#&#039;, $path ) ) {
		$embed_type = &#039;embedBoard&#039;;
	} else {
		if ( current_user_can( &#039;edit_posts&#039; ) ) {
			return __( &#039;Sorry, that Pinterest URL was not recognized.&#039;, &#039;jetpack&#039; );
		}
		return;
	}

	$return = sprintf( &#039;&lt;a data-pin-do=&quot;%s&quot; href=&quot;%s&quot;&gt;&lt;/a&gt;&#039;, esc_attr( $embed_type ), esc_url( $url ) );

	// If we&#039;re generating an embed view for the WordPress Admin via ajax.
	if ( doing_action( &#039;wp_ajax_parse-embed&#039; ) ) {
		$return .= sprintf(
			&#039;&lt;script src=&quot;%s&quot;&gt;&lt;/script&gt;&#039;, // phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript
			esc_url( $script_src )
		);
	}

	return $return;
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://looker.af/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://looker.af/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
