Ejemplo n.º 1
0
 public static function init()
 {
     static $instance = false;
     if (!$instance) {
         $instance = new Jetpack_Comments_Settings(Jetpack_Comments::init());
     }
     return $instance;
 }
Ejemplo n.º 2
0
        printf(__('Submitting Comment%s', 'jetpack'), '<span id="ellipsis" class="hidden">&hellip;</span>');
        ?>
</h1>
<script type="text/javascript">
try {
	window.parent.location = <?php 
        echo json_encode($url);
        ?>
;
	window.parent.location.reload( true );
} catch ( e ) {
	window.location = <?php 
        echo json_encode($url);
        ?>
;
	window.location.reload( true );
}
ellipsis = document.getElementById( 'ellipsis' );
function toggleEllipsis() {
	ellipsis.className = ellipsis.className ? '' : 'hidden';
}
setInterval( toggleEllipsis, 1200 );
</script>
</body>
</html>
<?php 
        exit;
    }
}
Jetpack_Comments::init();