print_emoji_detection_script

The timeline below displays how wordpress function print_emoji_detection_script has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.1

/**
 * Prints the inline Emoji detection script if it is not already printed.
 *
 * @since 4.2.0
 */
function print_emoji_detection_script()
{
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    _print_emoji_detection_script();
}

WordPress Version: 5.5

/**
 * Print the inline Emoji detection script if it is not already printed.
 *
 * @since 4.2.0
 */
function print_emoji_detection_script()
{
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    _print_emoji_detection_script();
}

WordPress Version: 4.6

/**
 * Print the inline Emoji detection script if it is not already printed.
 *
 * @since 4.2.0
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    _print_emoji_detection_script();
}

WordPress Version: 5.4

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', 'https://s.w.org/images/core/emoji/72x72/'),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c,d,e,f=b.createElement("canvas"),g=f.getContext&&f.getContext("2d"),h=String.fromCharCode;if(!g||!g.fillText)return!1;switch(g.textBaseline="top",g.font="600 32px Arial",a){case"flag":return g.fillText(h(55356,56806,55356,56826),0,0),f.toDataURL().length>3e3;case"diversity":return g.fillText(h(55356,57221),0,0),c=g.getImageData(16,16,1,1).data,d=c[0]+","+c[1]+","+c[2]+","+c[3],g.fillText(h(55356,57221,55356,57343),0,0),c=g.getImageData(16,16,1,1).data,e=c[0]+","+c[1]+","+c[2]+","+c[3],d!==e;case"simple":return g.fillText(h(55357,56835),0,0),0!==g.getImageData(16,16,1,1).data[0];case"unicode8":return g.fillText(h(55356,57135),0,0),0!==g.getImageData(16,16,1,1).data[0]}return!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g,h,i;for(i=Array("simple","flag","unicode8","diversity"),c.supports={everything:!0,everythingExceptFlag:!0},h=0;h<i.length;h++)c.supports[i[h]]=d(i[h]),c.supports.everything=c.supports.everything&&c.supports[i[h]],"flag"!==i[h]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[i[h]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: .30

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', 'https://s.w.org/images/core/emoji/72x72/'),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(e,o,t){var a,n,r;function i(e){var t=o.createElement("script");t.src=e,t.type="text/javascript",o.getElementsByTagName("head")[0].appendChild(t)}for(r=Array("simple","flag","unicode8","diversity"),t.supports={everything:!0,everythingExceptFlag:!0},n=0;n<r.length;n++)t.supports[r[n]]=function(e){var t,a,n=o.createElement("canvas"),r=n.getContext&&n.getContext("2d"),i=String.fromCharCode;if(!r||!r.fillText)return!1;switch(r.textBaseline="top",r.font="600 32px Arial",e){case"flag":return r.fillText(i(55356,56806,55356,56826),0,0),3e3<n.toDataURL().length;case"diversity":return r.fillText(i(55356,57221),0,0),a=(t=r.getImageData(16,16,1,1).data)[0]+","+t[1]+","+t[2]+","+t[3],r.fillText(i(55356,57221,55356,57343),0,0),a!=(t=r.getImageData(16,16,1,1).data)[0]+","+t[1]+","+t[2]+","+t[3];case"simple":return r.fillText(i(55357,56835),0,0),0!==r.getImageData(16,16,1,1).data[0];case"unicode8":return r.fillText(i(55356,57135),0,0),0!==r.getImageData(16,16,1,1).data[0]}return!1}(r[n]),t.supports.everything=t.supports.everything&&t.supports[r[n]],"flag"!==r[n]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[r[n]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(a=function(){t.readyCallback()},o.addEventListener?(o.addEventListener("DOMContentLoaded",a,!1),e.addEventListener("load",a,!1)):(e.attachEvent("onload",a),o.attachEvent("onreadystatechange",function(){"complete"===o.readyState&&t.readyCallback()})),(a=t.source||{}).concatemoji?i(a.concatemoji):a.wpemoji&&a.twemoji&&(i(a.twemoji),i(a.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: 5.3

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', 'https://s.w.org/images/core/emoji/72x72/'),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c,d,e,f=b.createElement("canvas"),g=f.getContext&&f.getContext("2d"),h=String.fromCharCode;if(!g||!g.fillText)return!1;switch(g.textBaseline="top",g.font="600 32px Arial",a){case"flag":return g.fillText(h(55356,56806,55356,56826),0,0),f.toDataURL().length>3e3;case"diversity":return g.fillText(h(55356,57221),0,0),c=g.getImageData(16,16,1,1).data,d=c[0]+","+c[1]+","+c[2]+","+c[3],g.fillText(h(55356,57221,55356,57343),0,0),c=g.getImageData(16,16,1,1).data,e=c[0]+","+c[1]+","+c[2]+","+c[3],d!==e;case"simple":return g.fillText(h(55357,56835),0,0),0!==g.getImageData(16,16,1,1).data[0];case"unicode8":return g.fillText(h(55356,57135),0,0),0!==g.getImageData(16,16,1,1).data[0]}return!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g,h,i;for(i=Array("simple","flag","unicode8","diversity"),c.supports={everything:!0,everythingExceptFlag:!0},h=0;h<i.length;h++)c.supports[i[h]]=d(i[h]),c.supports.everything=c.supports.everything&&c.supports[i[h]],"flag"!==i[h]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[i[h]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: .24

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', 'https://s.w.org/images/core/emoji/72x72/'),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(e,o,t){var a,n,r;function i(e){var t=o.createElement("script");t.src=e,t.type="text/javascript",o.getElementsByTagName("head")[0].appendChild(t)}for(r=Array("simple","flag","unicode8","diversity"),t.supports={everything:!0,everythingExceptFlag:!0},n=0;n<r.length;n++)t.supports[r[n]]=function(e){var t,a,n=o.createElement("canvas"),r=n.getContext&&n.getContext("2d"),i=String.fromCharCode;if(!r||!r.fillText)return!1;switch(r.textBaseline="top",r.font="600 32px Arial",e){case"flag":return r.fillText(i(55356,56806,55356,56826),0,0),3e3<n.toDataURL().length;case"diversity":return r.fillText(i(55356,57221),0,0),a=(t=r.getImageData(16,16,1,1).data)[0]+","+t[1]+","+t[2]+","+t[3],r.fillText(i(55356,57221,55356,57343),0,0),a!=(t=r.getImageData(16,16,1,1).data)[0]+","+t[1]+","+t[2]+","+t[3];case"simple":return r.fillText(i(55357,56835),0,0),0!==r.getImageData(16,16,1,1).data[0];case"unicode8":return r.fillText(i(55356,57135),0,0),0!==r.getImageData(16,16,1,1).data[0]}return!1}(r[n]),t.supports.everything=t.supports.everything&&t.supports[r[n]],"flag"!==r[n]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[r[n]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(a=function(){t.readyCallback()},o.addEventListener?(o.addEventListener("DOMContentLoaded",a,!1),e.addEventListener("load",a,!1)):(e.attachEvent("onload",a),o.attachEvent("onreadystatechange",function(){"complete"===o.readyState&&t.readyCallback()})),(a=t.source||{}).concatemoji?i(a.concatemoji):a.wpemoji&&a.twemoji&&(i(a.twemoji),i(a.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: 5.1

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', 'https://s.w.org/images/core/emoji/72x72/'),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c,d,e,f=b.createElement("canvas"),g=f.getContext&&f.getContext("2d"),h=String.fromCharCode;if(!g||!g.fillText)return!1;switch(g.textBaseline="top",g.font="600 32px Arial",a){case"flag":return g.fillText(h(55356,56806,55356,56826),0,0),f.toDataURL().length>3e3;case"diversity":return g.fillText(h(55356,57221),0,0),c=g.getImageData(16,16,1,1).data,d=c[0]+","+c[1]+","+c[2]+","+c[3],g.fillText(h(55356,57221,55356,57343),0,0),c=g.getImageData(16,16,1,1).data,e=c[0]+","+c[1]+","+c[2]+","+c[3],d!==e;case"simple":return g.fillText(h(55357,56835),0,0),0!==g.getImageData(16,16,1,1).data[0];case"unicode8":return g.fillText(h(55356,57135),0,0),0!==g.getImageData(16,16,1,1).data[0]}return!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g,h,i;for(i=Array("simple","flag","unicode8","diversity"),c.supports={everything:!0,everythingExceptFlag:!0},h=0;h<i.length;h++)c.supports[i[h]]=d(i[h]),c.supports.everything=c.supports.everything&&c.supports[i[h]],"flag"!==i[h]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[i[h]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: 4.5

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', 'https://s.w.org/images/core/emoji/72x72/'),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c,d,e,f=b.createElement("canvas"),g=f.getContext&&f.getContext("2d"),h=String.fromCharCode;if(!g||!g.fillText)return!1;switch(g.textBaseline="top",g.font="600 32px Arial",a){case"flag":return g.fillText(h(55356,56806,55356,56826),0,0),f.toDataURL().length>3e3;case"diversity":return g.fillText(h(55356,57221),0,0),c=g.getImageData(16,16,1,1).data,g.fillText(h(55356,57221,55356,57343),0,0),c=g.getImageData(16,16,1,1).data,e=c[0]+","+c[1]+","+c[2]+","+c[3],d!==e;case"simple":return g.fillText(h(55357,56835),0,0),0!==g.getImageData(16,16,1,1).data[0];case"unicode8":return g.fillText(h(55356,57135),0,0),0!==g.getImageData(16,16,1,1).data[0]}return!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g,h,i;for(i=Array("simple","flag","unicode8","diversity"),c.supports={everything:!0,everythingExceptFlag:!0},h=0;h<i.length;h++)c.supports[i[h]]=d(i[h]),c.supports.everything=c.supports.everything&&c.supports[i[h]],"flag"!==i[h]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[i[h]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: 4.4

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', 'https://s.w.org/images/core/emoji/72x72/'),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c,d,e,f=b.createElement("canvas"),g=f.getContext&&f.getContext("2d"),h=String.fromCharCode;return g&&g.fillText?(g.textBaseline="top",g.font="600 32px Arial","flag"===a?(g.fillText(h(55356,56806,55356,56826),0,0),f.toDataURL().length>3e3):"diversity"===a?(g.fillText(h(55356,57221),0,0),c=g.getImageData(16,16,1,1).data,g.fillText(h(55356,57221,55356,57343),0,0),c=g.getImageData(16,16,1,1).data,e=c[0]+","+c[1]+","+c[2]+","+c[3],d!==e):("simple"===a?g.fillText(h(55357,56835),0,0):g.fillText(h(55356,57135),0,0),0!==g.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag"),unicode8:d("unicode8"),diversity:d("diversity")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag&&c.supports.unicode8&&c.supports.diversity||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: .30

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', 'https://s.w.org/images/core/emoji/72x72/'),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(e,n,t){var a;function i(e){var t=n.createElement("canvas"),a=t.getContext&&t.getContext("2d"),i=String.fromCharCode;return!(!a||!a.fillText)&&(a.textBaseline="top",a.font="600 32px Arial","flag"===e?(a.fillText(i(55356,56806,55356,56826),0,0),3e3<t.toDataURL().length):"diversity"===e?(a.fillText(i(55356,57221),0,0),t=a.getImageData(16,16,1,1).data,a.fillText(i(55356,57221,55356,57343),0,0),(t=a.getImageData(16,16,1,1).data)[0],t[1],t[2],t[3],!0):("simple"===e?a.fillText(i(55357,56835),0,0):a.fillText(i(55356,57135),0,0),0!==a.getImageData(16,16,1,1).data[0]))}function o(e){var t=n.createElement("script");t.src=e,t.type="text/javascript",n.getElementsByTagName("head")[0].appendChild(t)}t.supports={simple:i("simple"),flag:i("flag"),unicode8:i("unicode8"),diversity:i("diversity")},t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.simple&&t.supports.flag&&t.supports.unicode8&&t.supports.diversity||(a=function(){t.readyCallback()},n.addEventListener?(n.addEventListener("DOMContentLoaded",a,!1),e.addEventListener("load",a,!1)):(e.attachEvent("onload",a),n.attachEvent("onreadystatechange",function(){"complete"===n.readyState&&t.readyCallback()})),(a=t.source||{}).concatemoji?o(a.concatemoji):a.wpemoji&&a.twemoji&&(o(a.twemoji),o(a.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: 4.3

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', 'https://s.w.org/images/core/emoji/72x72/'),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c,d,e,f=b.createElement("canvas"),g=f.getContext&&f.getContext("2d"),h=String.fromCharCode;return g&&g.fillText?(g.textBaseline="top",g.font="600 32px Arial","flag"===a?(g.fillText(h(55356,56806,55356,56826),0,0),f.toDataURL().length>3e3):"diversity"===a?(g.fillText(h(55356,57221),0,0),c=g.getImageData(16,16,1,1).data,g.fillText(h(55356,57221,55356,57343),0,0),c=g.getImageData(16,16,1,1).data,e=c[0]+","+c[1]+","+c[2]+","+c[3],d!==e):("simple"===a?g.fillText(h(55357,56835),0,0):g.fillText(h(55356,57135),0,0),0!==g.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag"),unicode8:d("unicode8"),diversity:d("diversity")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag&&c.supports.unicode8&&c.supports.diversity||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: .25

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', 'https://s.w.org/images/core/emoji/72x72/'),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(e,n,t){var a;function i(e){var t=n.createElement("canvas"),a=t.getContext&&t.getContext("2d"),i=String.fromCharCode;return!(!a||!a.fillText)&&(a.textBaseline="top",a.font="600 32px Arial","flag"===e?(a.fillText(i(55356,56806,55356,56826),0,0),3e3<t.toDataURL().length):"diversity"===e?(a.fillText(i(55356,57221),0,0),t=a.getImageData(16,16,1,1).data,a.fillText(i(55356,57221,55356,57343),0,0),(t=a.getImageData(16,16,1,1).data)[0],t[1],t[2],t[3],!0):("simple"===e?a.fillText(i(55357,56835),0,0):a.fillText(i(55356,57135),0,0),0!==a.getImageData(16,16,1,1).data[0]))}function o(e){var t=n.createElement("script");t.src=e,t.type="text/javascript",n.getElementsByTagName("head")[0].appendChild(t)}t.supports={simple:i("simple"),flag:i("flag"),unicode8:i("unicode8"),diversity:i("diversity")},t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.simple&&t.supports.flag&&t.supports.unicode8&&t.supports.diversity||(a=function(){t.readyCallback()},n.addEventListener?(n.addEventListener("DOMContentLoaded",a,!1),e.addEventListener("load",a,!1)):(e.attachEvent("onload",a),n.attachEvent("onreadystatechange",function(){"complete"===n.readyState&&t.readyCallback()})),(a=t.source||{}).concatemoji?o(a.concatemoji):a.wpemoji&&a.twemoji&&(o(a.twemoji),o(a.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: .20

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', 'https://s.w.org/images/core/emoji/72x72/'),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c,d,e,f=b.createElement("canvas"),g=f.getContext&&f.getContext("2d"),h=String.fromCharCode;return g&&g.fillText?(g.textBaseline="top",g.font="600 32px Arial","flag"===a?(g.fillText(h(55356,56806,55356,56826),0,0),f.toDataURL().length>3e3):"diversity"===a?(g.fillText(h(55356,57221),0,0),c=g.getImageData(16,16,1,1).data,g.fillText(h(55356,57221,55356,57343),0,0),c=g.getImageData(16,16,1,1).data,e=c[0]+","+c[1]+","+c[2]+","+c[3],d!==e):("simple"===a?g.fillText(h(55357,56835),0,0):g.fillText(h(55356,57135),0,0),0!==g.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag"),unicode8:d("unicode8"),diversity:d("diversity")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag&&c.supports.unicode8&&c.supports.diversity||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: 4.2

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', 'https://s.w.org/images/core/emoji/72x72/'),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c,d=b.createElement("canvas"),e=d.getContext&&d.getContext("2d"),f=String.fromCharCode;return e&&e.fillText?(e.textBaseline="top",e.font="600 32px Arial","flag"===a?(e.fillText(f(55356,56806,55356,56826),0,0),d.toDataURL().length>3e3):"diversity"===a?(e.fillText(f(55356,57221),0,0),c=e.getImageData(16,16,1,1).data.toString(),e.fillText(f(55356,57221,55356,57343),0,0),c!==e.getImageData(16,16,1,1).data.toString()):("simple"===a?e.fillText(f(55357,56835),0,0):e.fillText(f(55356,57135),0,0),0!==e.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag"),unicode8:d("unicode8"),diversity:d("diversity")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag&&c.supports.unicode8&&c.supports.diversity||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: .10

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', 'https://s.w.org/images/core/emoji/72x72/'),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c,d,e,f=b.createElement("canvas"),g=f.getContext&&f.getContext("2d"),h=String.fromCharCode;return g&&g.fillText?(g.textBaseline="top",g.font="600 32px Arial","flag"===a?(g.fillText(h(55356,56806,55356,56826),0,0),f.toDataURL().length>3e3):"diversity"===a?(g.fillText(h(55356,57221),0,0),c=g.getImageData(16,16,1,1).data,g.fillText(h(55356,57221,55356,57343),0,0),c=g.getImageData(16,16,1,1).data,e=c[0]+","+c[1]+","+c[2]+","+c[3],d!==e):("simple"===a?g.fillText(h(55357,56835),0,0):g.fillText(h(55356,57135),0,0),0!==g.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag"),unicode8:d("unicode8"),diversity:d("diversity")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag&&c.supports.unicode8&&c.supports.diversity||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: 4.1

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', set_url_scheme('//s.w.org/images/core/emoji/72x72/')),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c,d=b.createElement("canvas"),e=d.getContext&&d.getContext("2d");return e&&e.fillText?(e.textBaseline="top",e.font="600 32px Arial","flag"===a?(e.fillText(String.fromCharCode(55356,56806,55356,56826),0,0),d.toDataURL().length>3e3):"diversity"===a?(e.fillText(String.fromCharCode(55356,57221),0,0),c=e.getImageData(16,16,1,1).data.toString(),e.fillText(String.fromCharCode(55356,57221,55356,57343),0,0),c!==e.getImageData(16,16,1,1).data.toString()):("simple"===a?e.fillText(String.fromCharCode(55357,56835),0,0):e.fillText(String.fromCharCode(55356,57135),0,0),0!==e.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag"),unicode8:d("unicode8"),diversity:d("diversity")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag&&c.supports.unicode8&&c.supports.diversity||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: 4.4

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', set_url_scheme('//s.w.org/images/core/emoji/72x72/')),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c=b.createElement("canvas"),d=c.getContext&&c.getContext("2d");return d&&d.fillText?(d.textBaseline="top",d.font="600 32px Arial","flag"===a?(d.fillText(String.fromCharCode(55356,56806,55356,56826),0,0),c.toDataURL().length>3e3):("simple"===a?d.fillText(String.fromCharCode(55357,56835),0,0):d.fillText(String.fromCharCode(55356,57135),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag"),unicode8:d("unicode8")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag&&c.supports.unicode8||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: 3.4

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', set_url_scheme('//s.w.org/images/core/emoji/72x72/')),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c=b.createElement("canvas"),d=c.getContext&&c.getContext("2d");return d&&d.fillText?(d.textBaseline="top",d.font="600 32px Arial","flag"===a?(d.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),c.toDataURL().length>3e3):(d.fillText(String.fromCharCode(55357,56835),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: .30

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', set_url_scheme('//s.w.org/images/core/emoji/72x72/')),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(e,n,t){var a;function o(e){var t=n.createElement("canvas"),a=t.getContext&&t.getContext("2d");return!(!a||!a.fillText)&&(a.textBaseline="top",a.font="600 32px Arial","flag"===e?(a.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),3e3<t.toDataURL().length):(a.fillText(String.fromCharCode(55357,56835),0,0),0!==a.getImageData(16,16,1,1).data[0]))}function i(e){var t=n.createElement("script");t.src=e,t.type="text/javascript",n.getElementsByTagName("head")[0].appendChild(t)}t.supports={simple:o("simple"),flag:o("flag")},t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.simple&&t.supports.flag||(a=function(){t.readyCallback()},n.addEventListener?(n.addEventListener("DOMContentLoaded",a,!1),e.addEventListener("load",a,!1)):(e.attachEvent("onload",a),n.attachEvent("onreadystatechange",function(){"complete"===n.readyState&&t.readyCallback()})),(a=t.source||{}).concatemoji?i(a.concatemoji):a.wpemoji&&a.twemoji&&(i(a.twemoji),i(a.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: 3.3

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', set_url_scheme('//s.w.org/images/core/emoji/72x72/')),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c=b.createElement("canvas"),d=c.getContext&&c.getContext("2d");return d&&d.fillText?(d.textBaseline="top",d.font="600 32px Arial","flag"===a?(d.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),c.toDataURL().length>3e3):(d.fillText(String.fromCharCode(55357,56835),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: .26

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', set_url_scheme('//s.w.org/images/core/emoji/72x72/')),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(e,n,t){var a;function o(e){var t=n.createElement("canvas"),a=t.getContext&&t.getContext("2d");return!(!a||!a.fillText)&&(a.textBaseline="top",a.font="600 32px Arial","flag"===e?(a.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),3e3<t.toDataURL().length):(a.fillText(String.fromCharCode(55357,56835),0,0),0!==a.getImageData(16,16,1,1).data[0]))}function i(e){var t=n.createElement("script");t.src=e,t.type="text/javascript",n.getElementsByTagName("head")[0].appendChild(t)}t.supports={simple:o("simple"),flag:o("flag")},t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.simple&&t.supports.flag||(a=function(){t.readyCallback()},n.addEventListener?(n.addEventListener("DOMContentLoaded",a,!1),e.addEventListener("load",a,!1)):(e.attachEvent("onload",a),n.attachEvent("onreadystatechange",function(){"complete"===n.readyState&&t.readyCallback()})),(a=t.source||{}).concatemoji?i(a.concatemoji):a.wpemoji&&a.twemoji&&(i(a.twemoji),i(a.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: 4.3

/**
 *
 * @global string $wp_version
 * @staticvar bool $printed
 */
function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', set_url_scheme('//s.w.org/images/core/emoji/72x72/')),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c=b.createElement("canvas"),d=c.getContext&&c.getContext("2d");return d&&d.fillText?(d.textBaseline="top",d.font="600 32px Arial","flag"===a?(d.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),c.toDataURL().length>3e3):(d.fillText(String.fromCharCode(55357,56835),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: 2.4

function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', set_url_scheme('//s.w.org/images/core/emoji/72x72/')),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    $develop_src = false !== strpos($wp_version, '-src');
    if ($develop_src || defined('SCRIPT_DEBUG') && SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c=b.createElement("canvas"),d=c.getContext&&c.getContext("2d");return d&&d.fillText?(d.textBaseline="top",d.font="600 32px Arial","flag"===a?(d.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),c.toDataURL().length>3e3):(d.fillText(String.fromCharCode(55357,56835),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: .30

function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', set_url_scheme('//s.w.org/images/core/emoji/72x72/')),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    $develop_src = false !== strpos($wp_version, '-src');
    if ($develop_src || defined('SCRIPT_DEBUG') && SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(e,n,t){var a;function o(e){var t=n.createElement("canvas"),a=t.getContext&&t.getContext("2d");return!(!a||!a.fillText)&&(a.textBaseline="top",a.font="600 32px Arial","flag"===e?(a.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),3e3<t.toDataURL().length):(a.fillText(String.fromCharCode(55357,56835),0,0),0!==a.getImageData(16,16,1,1).data[0]))}function i(e){var t=n.createElement("script");t.src=e,t.type="text/javascript",n.getElementsByTagName("head")[0].appendChild(t)}t.supports={simple:o("simple"),flag:o("flag")},t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.simple&&t.supports.flag||(a=function(){t.readyCallback()},n.addEventListener?(n.addEventListener("DOMContentLoaded",a,!1),e.addEventListener("load",a,!1)):(e.attachEvent("onload",a),n.attachEvent("onreadystatechange",function(){"complete"===n.readyState&&t.readyCallback()})),(a=t.source||{}).concatemoji?i(a.concatemoji):a.wpemoji&&a.twemoji&&(i(a.twemoji),i(a.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: .20

function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', set_url_scheme('//s.w.org/images/core/emoji/72x72/')),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    $develop_src = false !== strpos($wp_version, '-src');
    if ($develop_src || defined('SCRIPT_DEBUG') && SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c=b.createElement("canvas"),d=c.getContext&&c.getContext("2d");return d&&d.fillText?(d.textBaseline="top",d.font="600 32px Arial","flag"===a?(d.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),c.toDataURL().length>3e3):(d.fillText(String.fromCharCode(55357,56835),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: 2.2

function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', set_url_scheme('//s.w.org/images/core/emoji/72x72/')),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c=b.createElement("canvas"),d=c.getContext&&c.getContext("2d");return d&&d.fillText?(d.textBaseline="top",d.font="600 32px Arial","flag"===a?(d.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),c.toDataURL().length>3e3):(d.fillText(String.fromCharCode(55357,56835),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: .10

function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', set_url_scheme('//s.w.org/images/core/emoji/72x72/')),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    $develop_src = false !== strpos($wp_version, '-src');
    if ($develop_src || defined('SCRIPT_DEBUG') && SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c=b.createElement("canvas"),d=c.getContext&&c.getContext("2d");return d&&d.fillText?(d.textBaseline="top",d.font="600 32px Arial","flag"===a?(d.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),c.toDataURL().length>3e3):(d.fillText(String.fromCharCode(55357,56835),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}

WordPress Version: 4.2

function print_emoji_detection_script()
{
    global $wp_version;
    static $printed = false;
    if ($printed) {
        return;
    }
    $printed = true;
    $settings = array(
        /**
         * Filter the URL where emoji images are hosted.
         *
         * @since 4.2.0
         *
         * @param string The emoji base URL.
         */
        'baseUrl' => apply_filters('emoji_url', set_url_scheme('//s.w.org/images/core/emoji/72x72/')),
        /**
         * Filter the extension of the emoji files.
         *
         * @since 4.2.0
         *
         * @param string The emoji extension. Default .png.
         */
        'ext' => apply_filters('emoji_ext', '.png'),
    );
    $version = 'ver=' . $wp_version;
    if (SCRIPT_DEBUG) {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'wpemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji.js?{$version}"), 'wpemoji'),
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'twemoji' => apply_filters('script_loader_src', includes_url("js/twemoji.js?{$version}"), 'twemoji'),
        );
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			<?php 
        readfile(ABSPATH . WPINC . "/js/wp-emoji-loader.js");
        ?>
		</script>
		<?php 
    } else {
        $settings['source'] = array(
            /** This filter is documented in wp-includes/class.wp-scripts.php */
            'concatemoji' => apply_filters('script_loader_src', includes_url("js/wp-emoji-release.min.js?{$version}"), 'concatemoji'),
        );
        /*
         * If you're looking at a src version of this file, you'll see an "include"
         * statement below. This is used by the `grunt build` process to directly
         * include a minified version of wp-emoji-loader.js, instead of using the
         * readfile() method from above.
         *
         * If you're looking at a build version of this file, you'll see a string of
         * minified JavaScript. If you need to debug it, please turn on SCRIPT_DEBUG
         * and edit wp-emoji-loader.js directly.
         */
        ?>
		<script type="text/javascript">
			window._wpemojiSettings = <?php 
        echo wp_json_encode($settings);
        ?>;
			!function(a,b,c){function d(a){var c=b.createElement("canvas"),d=c.getContext&&c.getContext("2d");return d&&d.fillText?(d.textBaseline="top",d.font="600 32px Arial","flag"===a?(d.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),c.toDataURL().length>3e3):(d.fillText(String.fromCharCode(55357,56835),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f;c.supports={simple:d("simple"),flag:d("flag")},c.supports.simple&&c.supports.flag||(f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<?php 
    }
}