Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/jetpack/modules/comments
File: comments.php
-moz-transition-timing-function: ease-in-out;
[1000] Fix | Delete
[1001] Fix | Delete
-webkit-transition-property: opacity;
[1002] Fix | Delete
-webkit-transition-duration: 1s;
[1003] Fix | Delete
-webbit-transition-timing-function: ease-in-out;
[1004] Fix | Delete
[1005] Fix | Delete
-o-transition-property: opacity;
[1006] Fix | Delete
-o-transition-duration: 1s;
[1007] Fix | Delete
-o-transition-timing-function: ease-in-out;
[1008] Fix | Delete
[1009] Fix | Delete
-ms-transition-property: opacity;
[1010] Fix | Delete
-ms-transition-duration: 1s;
[1011] Fix | Delete
-ms-transition-timing-function: ease-in-out;
[1012] Fix | Delete
[1013] Fix | Delete
transition-property: opacity;
[1014] Fix | Delete
transition-duration: 1s;
[1015] Fix | Delete
transition-timing-function: ease-in-out;
[1016] Fix | Delete
}
[1017] Fix | Delete
</style>
[1018] Fix | Delete
</head>
[1019] Fix | Delete
<body>
[1020] Fix | Delete
<?php if ( ! $should_show_subscription_modal ) { ?>
[1021] Fix | Delete
<h3>
[1022] Fix | Delete
<?php
[1023] Fix | Delete
wp_kses_post(
[1024] Fix | Delete
printf(
[1025] Fix | Delete
/* translators: %s is replaced by HTML markup to include an ellipsis */
[1026] Fix | Delete
__( 'Submitting Comment%s', 'jetpack' ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
[1027] Fix | Delete
'<span id="ellipsis" class="hidden">&hellip;</span>'
[1028] Fix | Delete
)
[1029] Fix | Delete
);
[1030] Fix | Delete
?>
[1031] Fix | Delete
</h3>
[1032] Fix | Delete
<script type="text/javascript">
[1033] Fix | Delete
try {
[1034] Fix | Delete
window.parent.location.href = <?php echo wp_json_encode( $url ); ?>;
[1035] Fix | Delete
window.parent.location.reload( true );
[1036] Fix | Delete
} catch (e) {
[1037] Fix | Delete
window.location.href = <?php echo wp_json_encode( $url ); ?>;
[1038] Fix | Delete
window.location.reload( true );
[1039] Fix | Delete
}
[1040] Fix | Delete
ellipsis = document.getElementById('ellipsis');
[1041] Fix | Delete
[1042] Fix | Delete
function toggleEllipsis() {
[1043] Fix | Delete
ellipsis.className = ellipsis.className ? '' : 'hidden';
[1044] Fix | Delete
}
[1045] Fix | Delete
[1046] Fix | Delete
setInterval(toggleEllipsis, 1200);
[1047] Fix | Delete
</script>
[1048] Fix | Delete
<?php } else { ?>
[1049] Fix | Delete
<h3>
[1050] Fix | Delete
<?php
[1051] Fix | Delete
wp_kses_post(
[1052] Fix | Delete
print __( 'Comment sent', 'jetpack' ) // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
[1053] Fix | Delete
);
[1054] Fix | Delete
?>
[1055] Fix | Delete
</h3>
[1056] Fix | Delete
<script type="text/javascript">
[1057] Fix | Delete
if ( window.parent && window.parent !== window ) {
[1058] Fix | Delete
[1059] Fix | Delete
window.parent.postMessage(
[1060] Fix | Delete
{
[1061] Fix | Delete
type: 'subscriptionModalShow',
[1062] Fix | Delete
data: <?php echo wp_json_encode( $this->get_subscription_modal_data_to_parent( $url ) ); ?>,
[1063] Fix | Delete
},
[1064] Fix | Delete
window.location.origin
[1065] Fix | Delete
);
[1066] Fix | Delete
}
[1067] Fix | Delete
</script>
[1068] Fix | Delete
<?php } ?>
[1069] Fix | Delete
</body>
[1070] Fix | Delete
</html>
[1071] Fix | Delete
<?php
[1072] Fix | Delete
exit( 0 );
[1073] Fix | Delete
}
[1074] Fix | Delete
}
[1075] Fix | Delete
[1076] Fix | Delete
Jetpack_Comments::init();
[1077] Fix | Delete
[1078] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function